fæ
overriding methods
I have multiple questions:
1) What is the benefit of declaring a base method as
virtual
before overriding it in an inheriting class? This is my understanding: it allows calling the override despite casting to the base class. Is this correct?
2) What is the difference between overriding a method, and hiding a method? As in, what does the new
keyword do exactly?90 replies
job advice
ok so i just passed some offline technical tests for a asp.net backend dev job. but honestly, while i'm quite experienced with C# as a WPF dev i dont know much about asp.net and havent really developed anything using it. i might have an interview in a week again, so can you prime me on what i should learn in this week? as fast as possible, i want to get as much knowledge.
2 replies