¡@

Home 

c# Programming Glossary: myderived

why Object.GetType() is not virtual?

http://stackoverflow.com/questions/3253329/why-object-gettype-is-not-virtual

Main MyBaseClass myBase new MyBaseClass MyDerivedClass myDerived new MyDerivedClass object o myDerived MyBaseClass b myDerived.. MyDerivedClass myDerived new MyDerivedClass object o myDerived MyBaseClass b myDerived Console.WriteLine mybase Type is 0 myBase.GetType.. new MyDerivedClass object o myDerived MyBaseClass b myDerived Console.WriteLine mybase Type is 0 myBase.GetType Console.WriteLine..