Crash893 Crash893 - 1 month ago 16
C# Question

comments compiled into .exe in .net?

I know you can use a .net reflector to view code created with .net but if I put something in the comments for my own personal reminder is that compiled in the exe as well.

I don't intend to release the source code for my application and i know the 100% safe bet is to just remove everything I don't want out but I was just wondering if someone could reverse engineer my comments.

Answer

Comments are ignored by the compiler. They will not be put into the output executable.