static void Main(string[] args) | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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