2013年2月20日

静态与非静态(转改)

摘要: 这里有一个C++的测试,由于c#的sizeof不能对一般类使用,所以没法试验。class Test{ int i; static int j; void Method1() { printf("Method1"); }; void Method2() { printf("Method2"); }; void Method3() { printf("Method3"); }; void Method4() { printf("Method4"); }; void Method5() { printf("Me 阅读全文

posted @ 2013-02-20 08:56 zyi 阅读(387) 评论(0) 推荐(0) 编辑

导航