Console app arguments, how arguments are passed to Main method

前端 未结 10 1177
醉话见心
醉话见心 2020-12-08 09:30

This would be question from c# beginner. When I create console application I get Main method with parameter args as array string. I do not understand how t

10条回答
  •  一整个雨季
    2020-12-08 10:11

    Every managed exe has a an entry point which can be seen when if you load your code to ILDASM. The Entry Point is specified in the CLR headed and would look something like this.

    enter image description here

提交回复
热议问题