What does virtual keyword mean ?

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


Please Help Members By Posting Answers For Below Questions

What is arraylist class in c#?

532


What is ildasm and obfuscator in net?

546


Why is it called c sharp?

519


What is the main purpose of xml?

479


What is an escape sequence in c#?

509






What is the importance of closing an ado.net application?

481


What is the relationship between a process, application domain, and application?

502


Is c# used for any core features of windows vista?

524


Can a static class contain non static members?

553


Why to use “finally” block in c#?

533


What is the use of console readline () in c#?

475


What is form feed and carriage return?

483


What do you mean by serialization in .NET?

554


What is difference between hashtable and dictionary in c#?

493


Explain About .NET Framework

529