The main() method

C# programs start execution at a method named Main(). This must
be a static method of a class (or struct), and must have a return type of either int or void.
Although it is common to specify the public modifier explicitly, because by definition the method must be
called from outside the program, it doesn’t actually matter what accessibility level you assign to the entrypoint
method — it will run even if you mark the method as private.
文章标签: struct class c#
个人分类: C#
上一篇CTS Types
下一篇Create Arrays
想对作者说点什么? 我来说一句