摘要:
1.被静态方法使用的变量,其自身也必须为静态。 static string message = "hello,world"; public static void HelloWorld() { Console.WriteLine(message); } 阅读全文
posted @ 2008-07-26 00:29 泰山2008 阅读(110) 评论(0) 推荐(0)
|
|
|
|
摘要:
1.被静态方法使用的变量,其自身也必须为静态。 static string message = "hello,world"; public static void HelloWorld() { Console.WriteLine(message); } 阅读全文
posted @ 2008-07-26 00:29 泰山2008 阅读(110) 评论(0) 推荐(0) |
|