Forums » .NET » .NET »

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

Posted Date: 23 Dec 2007      Posted By:: Subhashini Janakiraman     Member Level: Silver  Member Rank: 187     Points: 2   Responses: 1

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


#172115    Author: Ramshankar      Member Level: Silver      Member Rank: 0     Date: 23/Dec/2007   Rating: 2 out of 52 out of 5     Points: 2

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

Post Reply     

 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.

  • Return to Discussion Forum
  • Start new thread

  • Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India