Last edited on
I think that classes in C# are inherited from System.Object. So to determine the type of a derived class the virtual method of System.Object is used.
Thank you.
But why in c + + uses the word virtual but not in c #?
c++: virtual Type^ GetType() sealed
c#: public Type GetType()
Why C # does not use virtual keyword?
Sorry for bad English