You must Sign In to post a response.
  • Category: .NET

    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?
  • #172115
    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.