What does the keyword virtual mean in the method definition?

Answer Posted / praseetha sandeep

when you have a method defined in a class which you want
to allow to be implimented by inherited class you can use
virtual function

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a multilanguage, single-file assembly?

490


What is the execution entry point for a c# console application?

520


What does exclamation mark mean c#?

530


Differentiate between object pooling and connection pooling in c#?

530


Explain streamreader/streamwriter class?

533






How do you encapsulate in c#?

478


What is a derived class in c#?

468


What are actions in c#?

477


What is inumerable?

562


What do you mean by default constructor?

602


What is difference between continue and break in c#?

473


What is ildasm.exe used for?

526


How to use delegates with events?

540


What is linq c#?

494


What is the lock statement in c#?

520