Throw exception where the class was instantiated - C# -
i developing library used programmers. when throwing exception, debugger goes exception thrown, , not class instantiated or method executed.
with try .. catch can solved, if programmer using library not open try .. catch? see code! how can avoid this?
he see code!
well yes, if distribute code. if don't, how expect code seen? don't forget you're in different situation developers using library, have source code on machine. try same dll on machine doesn't have source code.
the developer may see decompiled version of code, perhaps - such great problem? if so, should @ obfuscating code - aware that comes logistical downsides too.
i suspect isn't problem.
Comments
Post a Comment