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

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.

主站蜘蛛池模板: 姜堰市| 仪征市| 遵义县| 玉林市| 辉南县| 定南县| 洞口县| 北碚区| 聂拉木县| 沽源县| 岑巩县| 济阳县| 湖口县| 突泉县| 色达县| 那曲县| 泽州县| 谷城县| 广元市| 息烽县| 崇信县| 乌拉特前旗| 府谷县| 周至县| 乌苏市| 盘山县| 曲松县| 改则县| 汕头市| 华安县| 佛教| 防城港市| 汝南县| 吉林省| 江陵县| 阳城县| 南丰县| 阿坝| 济阳县| 靖边县| 若羌县|