摘要: 作用:在第一次使用类之前,用静态构造函数来初始化封闭类中一些静态变量。 示例: public class Car : Product { private readonly static string _productType; public static string ProductType { g 阅读全文
posted @ 2021-10-25 15:44 mshentai 阅读(59) 评论(0) 推荐(0) 编辑