Defining the entry point for a C# application
This is the C# equivalent of the Main(String[] args) method in Java:
[STAThread]static void Main() { Application.Run(new MyStartupClass());}
This code usually goes in the class that defines your first windows form.







Comments