摘要: //定义静态类和静态方法,未定义静态字段、属性、事件public static class CommonHelper { public static void PrintContent() { Console.WriteLine("Static Class"); } }CommonHelper.PrintContent(); //调用静态类的静态方法 阅读全文
posted @ 2013-11-03 01:16 德鑫 阅读(93) 评论(0) 推荐(0)