1 public static class StaticClass
2 {
3 public static void MyVoid()
4 {
5 //do something
6 }
7 }
8
9 public class NormalClass
10 {
11 public static void MyVoid()
12 {
13 //do something
14 }
15 }
StaticClass.MyVoid() 和NormalClass.MyVoid() 这两个方法的调用有区别吗?
- 5 回答
- 0 关注
- 382 浏览
添加回答
举报
0/150
提交
取消