Mechanism by which u can define more than 1 main method.
Eg.
Class Main1
{
Public static void main()
{
Console.WriteLine("Main 1");
}
}
Class Main2
{
Public static void main()
{
Console.WriteLine("Main 2");
}
}
CSC MultipleMain.cs / main:Main1
In addition attempting to compile application consisting of multiple classes with
defined main methods and not specifying the /main switch will result in a compiler error.
Pawan Kumar
Pawankkmr@hotmail.com