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() 这两个方法的调用有区别吗?
绝地无双
智慧大石
精慕HU
慕妹3242003