Writing something in an obfuscated manner initially is a poor way of doing things. You'll need to maintain the software later.

There are tools that can be used http://www.google.com/search?hl=en&q...ode+obfuscator

I kind of think it is pointless to do this however. Most of the work done to obfuscate the code is done at the source level, removing comments, changing whitespace, renaming variables....most of this doesn't even make it to the IL that is produced by the compilation process.

If you really want to do anything I'd look for tools that work at the assembly/IL level such as http://www.programmersheaven.com/zon...1016/23658.htm .

It won't stop it completely but it will raise the bar enough to weed out 95% of the retards.