3 ms·
> they filled the base class with things like if(this.GetType() == typeof(DerivedClass1)){ That defeats the purpose of polymorphism.
by goatlover 6y ago
> they filled the base class with things like if(this.GetType() == typeof(DerivedClass1)){
That defeats the purpose of polymorphism.