General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2003 Server
>>Not directly relevant but, IAC, it is much safer to use a static readonly rather than a constant. If you reference a constant defined in one assembly in another then it is cast in stone at compile time. If you subsequently change that value other assemblies would still be using the old value unless recompiled.
>
>I know this is an old thread, but I've been away from the UT for a couple of weeks.
>
>Another thing that I ran into with using constants is that our obfuscator wouldn't obfuscate them. I switched all my constants to static readonly.
>
>~~Bonnie
Interesting. I didn't know that. What obfuscator were you using ?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only