static void Main(string[] args) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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