About Virtual functions and their use ?
Answer Posted / vijay rana
when we override a metod in sub class,and we want to hide
the decelaration of the base class member then we used the
keyword virtual in superclass,
and keyword override in the subclass
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is the max value of int32 in c#?
Is static class thread safe in c#?
How to put assembly in gac?
What is a linked list c#?
Can a dictionary have duplicate keys c#?
How does c# generics and c++ templates compare?
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
What do you mean by abstract class in c#?
What does void mean unity?
What is managed code?
What is use of singleton class in c#?
Please explain value types and reference types used in c#?
How is method overriding different from overloading?
Is visual c# free?
What is regex c#?