In C#.net 2005 program.cs file contain the application entry method.
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
1.)We can declare only one Main() method.
2.)Main method can't be override.
No comments:
Post a Comment