It is still from the wolf. If you don't want wolf0, try this. ((

回答: try this, 包你满意me1234562009-09-15 14:16:12

It is still from the wolf. If you don't want wolf0, try this.
(Animal)Activator.CreateInstance(wolf.GetType().BaseType);

所有跟帖: 

你好像不懂的什么是Derived,什么是Base,也不懂得题意 -st.paul- 给 st.paul 发送悄悄话 (118 bytes) () 09/16/2009 postreply 08:53:12

请您先登陆,再发跟帖!