You must Sign In to post a response.

Why do we specify public static void Main() in the main Program of a C#.Net .

Why do we use the statement public static void Main() in the main program in C#.Net?Why is it addressed so?


Comments

#172115    Author: Ramshankar    23 Dec 2007 Member Level: Silver   Points : 2

static void Main() - tell the compailer starting points of the programme. CLR will fetch for this at the time of compalation.


This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.