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

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.

主站蜘蛛池模板: 黄大仙区| 凤山市| 临朐县| 林芝县| 清远市| 荆门市| 宁波市| 虎林市| 昔阳县| 霍城县| 德化县| 沁水县| 曲麻莱县| 加查县| 保靖县| 漯河市| 米泉市| 济源市| 新竹市| 本溪市| 稻城县| 临猗县| 渑池县| 本溪| 璧山县| 翼城县| 阿尔山市| 清徐县| 萝北县| 即墨市| 洱源县| 浙江省| 五原县| 红安县| 开江县| 金阳县| 洛浦县| 博野县| 赣榆县| 吉林市| 丁青县|