Search Results

Wednesday, April 8, 2009

Variations On the Main() Method

//******************************************//
Three are three ways to define Main() in C#
//******************************************//

//int return type,array of strings as the argument
static int Main( string[] args)
{
}

//No return type,No argument
static void Main( )
{
}

//int return type,no argument
static int Main()
{
}

No comments:

Post a Comment