Hey all, I'm looking for ways to obfuscate the following c#/silverlight source code:
if (searchBox.Text.Equals("string literal")){
MessageBox.Show("another string literal");
}
So far all I can come up with to hide it is encoding the strings as arrays of ascii...
Thanks
EDIT All I want is for the source code to be undreadable, this is for an easter egg. Security is not a priority for me. Thanks.
EDIT 2 I don't want the presence of an easter egg to be known. I'm trying to obfuscate the program flow so it doesn't appear like there is a line of code like
if (specialcase)
doEasterEgg();
I've seen stuff on like the obfuscated c contest where hello world turns into globbidy gook. Anyhing similar that people know of for c#?