Main is a static entry point method for your application. When the application starts, Main is called first. After that it is not called anymore in normal circumstances. Note that Main, does not "construct" anything.! If you look at a normal C# winform application it will say something like this:
static class Program {
[STAThread]
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
The Constructor is called when you generate an object from a class with the
new
keyword.
It is the method that
"constructs" the "object" from a template = the "class". This is done by instantiating the variables, event, methods, ...
Hope this helps.