再谈static在C++和C#中的不同处理
摘要:为什么?
从语言设计的角度来看,针对上面的代码,下面的三种情况只能有一种为true。
1. 本身就是错误的写法
2. E.N() calls C.M() no matter what T is.
3. E.N() calls C.M() but E.N() calls D.M().
阅读全文
posted @ 2007-10-29 16:34
posted @ 2007-10-29 16:34
posted @ 2007-10-29 16:15
posted @ 2007-10-29 13:10
hello
world