Answer Posted / sanjeet kumar rai
The keyword virtual is applied to a method declaration to
indicate that the method may be overridden in a subclass. If
the virtual keyword is not applied and a method is defined
in a subclass with the same signature as the one in the
super class, the method in the super class is hidden by the
subclass implementation.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are the different approaches of passing parameters to a method?
Which of these string definitions will prevent escaping on backslashes in c#?
What is lazy t?
What is lambda expression in c#?
Which is the base class in c#?
What is array and its types in c#?
Which is executed if an exception has not occurred?
How do you create dlls in .NET
What is difference between class and abstract class in c#?
What is the difference between hashtable and dictionary?
How do I unload an assembly?
What is difference between float and decimal?
What is the difference between static class and sealed class in c#?
What is the difference between abstract and abstraction?
What is difference between list and ilist in c#?