解析C#中的私有构造函数和静态构造函数

2019-12-26 17:30:11于海丽

输出:


   Static constructor sets global start time to 3:57:08 PM.
   Bus #71 is created.
   Bus #72 is created.
   71 is starting its route 6.00 minutes after global start time 3:57 PM.
   72 is starting its route 31.00 minutes after global start time 3:57 PM.   


注:相关教程知识阅读请移步到c#教程频道。