clr - Main method in C# -


by default type modifier every member in class private, main() function type modifier private. how clr call main method not visible outside world?

thats not true.

it has public. e.g. public static void main().

edit: here found & learned today, on why main need not public. http://social.msdn.microsoft.com/forums/en-us/csharpgeneral/thread/9184c55b-4629-4fbf-ad77-2e96eadc4d62/


Comments