+ 2

Is the state "static void Main " the starting of any code or function ?

"static void Main" is the starting of any function or not or it possible to start function without it .

14th Nov 2016, 9:21 PM
mido
3 Réponses
+ 3
static void Main is actually just a special function. So, you can define functions outside of the Main function, and then call them inside of the Main function.
14th Nov 2016, 10:08 PM
Keto Z
Keto Z - avatar
+ 2
static void Main is the start of any console application. This method will be called first and only one time when you start your console app
15th Nov 2016, 11:19 PM
Newsman Tom
Newsman Tom - avatar
- 1
Yes
15th Dec 2016, 4:28 PM
Vipul Kumar singh
Vipul Kumar singh - avatar