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


Please Help Members By Posting Answers For Below Questions

What does console readkey do in c#?

483


What is array class in c#?

452


What is bit in c#?

521


What does a constructor do c#?

487


What is a dimensional array?

457






How will you deploy the dll file in gac?

479


List out two different types of errors in c#?

520


How do you declare a method in c#?

486


What is the use of 'using' statement in c#?

480


What is mean by c#?

477


What is transparent caching with aop ?

620


How do you sort an array in c#?

487


What is different between Implicit conversion and Explicit conversion in C#?

512


What is the use of tuple in c#?

500


What is selector c#?

504