0

static void Main(string[] args)

why to use args in the main method as static void Main(string[] args)..??

8th Apr 2019, 9:38 AM
Shaik Shabbeer
Shaik Shabbeer - avatar
1 Respuesta
+ 3
Because you can start a program from the terminal and add arguments to it that will be used by the program.
8th Apr 2019, 11:51 AM
HonFu
HonFu - avatar