Which method will be called when executing a .exe file?
which method will be called when executing a .exe file
Collapse
X
-
-
-
It also depends on the language.
In C#, console or windows form application, there is call to static void Main() by default. In forms applications static void Main() is usually in a Program.cs file and just calls the main form for the application.
In VB.Net this is hidden from the programmer. A startup project must be set in the solution properties. The startup project properties specify what type of application it is and what its startup object/form will be.
Probably more complicated than you were hoping for...Comment
Comment