What is Main? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
0

What is Main?

24th Mar 2017, 12:51 PM
Andrija Jovanovic
Andrija Jovanovic - avatar
3 Respostas
+ 11
my main is Ahri
24th Mar 2017, 4:57 PM
Ahri Fox
Ahri Fox - avatar
+ 4
Or a "hand" in french :0
24th Mar 2017, 1:02 PM
Geoffrey L
Geoffrey L - avatar
+ 2
"The Main method is the entry point of a C# console application or windows application. (Libraries and services do not require a Main method as an entry point.). When the application is started, the Main method is the first method that is invoked. There can only be one entry point in a C# program. If you have more than one class that has a Main method, you must compile your program with the /main compiler option to specify which Main method to use as the entry point."
24th Mar 2017, 12:55 PM
Eranga
Eranga - avatar