Examveda

What is the purpose of the "virtual" keyword in C#?

A. Marks a class as abstract

B. Marks a method as static

C. Allows method overriding

D. Prevents inheritance

Answer: Option C


This Question Belongs to C Sharp Programming >> Miscellaneous In C Sharp

Join The Discussion

Related Questions on Miscellaneous in C Sharp