What does the keyword “virtual” declare for a method or property?



What does the keyword “virtual” declare for a method or property?..

Answer / Chayan Singh

'virtual' is a keyword in C# that declares a member (method or property) as virtual. This means it can be overridden by a derived class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Name some string escape sequences in c#.

1 Answers  


What?s an abstract class?

5 Answers   Siebel,


How to put assembly in gac?

1 Answers  


Is it possible to nest cfml conditional tags?

1 Answers   HCL,


What is difference between gridview and form view?

1 Answers  


What is difference between destructor and finalize?

1 Answers  


what are delegates? How you used then in your project?

10 Answers   Hawk Eye, IndiaTimes, Kanbay,


What is difference between field and property in c#?

1 Answers  


What is dao in c#?

1 Answers  


Name the method of servicebase class?

1 Answers  


When should I use static in C#?

1 Answers   SwanSoft Technologies,


What is part of a method signature in c#?

1 Answers  


Categories