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

Author: Ramshankar23 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.