官术网_书友最值得收藏!

4 (Main)

This is an entry point for our program. At least one Main method is required for our C# program, and it should be static. We will discuss static in detail in the upcoming section, Overview of C# reserved keywords. Main is also a reserved keyword.

An entry is a way that lets CLR know the what and where of the functions located in the DLL. For instance, whenever we run our console application, it tells CLR that Main is the entry point and everything surrounds here. For more details, refer to https://docs.microsoft.com/en-us/dotnet/framework/interop/specifying-an-entry-point and https://docs.microsoft.com/en-us/dotnet/framework/interop/specifying-an-entry-point.

主站蜘蛛池模板: 泸西县| 健康| 建水县| 临安市| 沙雅县| 南城县| 芜湖县| 汤原县| 大方县| 德兴市| 台北市| 琼结县| 江北区| 徐汇区| 巴东县| 丰顺县| 永定县| 库伦旗| 连州市| 唐海县| 柳江县| 垦利县| 重庆市| 樟树市| 湖北省| 北海市| 阜宁县| 长丰县| 丽水市| 滨州市| 鱼台县| 朔州市| 吴堡县| 噶尔县| 盖州市| 花莲市| 阿勒泰市| 嘉黎县| 克什克腾旗| 滦南县| 林口县|