会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Tyler‘s Blog
不冒任何险,什么也不会有,什么也不是。
博客园
首页
新随笔
联系
订阅
管理
2009年8月25日
我不知道的C#-构造方法中调用虚方法
摘要: class Program{static void Main(string[] args){try{B b = new B();}catch(Exception ex){Console.WriteLine(ex.GetType().ToString());}Console.Read();}class A{protected Ref my;public A(){my = new Ref();Cons...
阅读全文
posted @ 2009-08-25 00:02 nd
阅读(1305)
评论(2)
推荐(1)
编辑
公告