Quantcast
Viewing all articles
Browse latest Browse all 12583

regarding public static void main

i have couple of question regarding public static void main

1) what is the default access specifier in .Net. i hard internal but few said it is private. so what is right.

2) when we run any apps from IDE then what happen sequntially. first program compile to IL code and then CLR invoke the main method as entry point. i just need to know it in details why actually call main method from out side.

3) when we click on .net exe then how controls goes to CLR hand. how it is determine that it is .net exe and who determine. please discuss it in details.

4) static public void main() is it correct syntax. if yes then tell me how static keyword can appear first?

5) public static void Main(string[] a)
    {
    }

why main method take argument by default string array. so when clr call it then what values clr pass to main method?


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>