About Virtual functions and their use ?

Answer Posted / tiger skumar

The Virtual is a keyword it used in the base class.When we
use the Virtual keyword in the function it must be override
in the inherited class with the same name.

Is This Answer Correct ?    35 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of inheritance are there in c#?

469


Why is main static in c#?

508


What is difference between C# and VB.NET?

510


What is namespace explain with example?

451


What is a console operator?

479






What is Delegate and what is it used for ?

570


What is constructors, explain with syntax

536


Why do we use abstract class in c#?

480


What are the types of delegates in c#?

466


What is foreach loop in c#?

522


What are the collections in c#?

463


What are some of the commonly used commands in sqlcommand?

484


Can we inherit static class in c#?

476


What is type cast in C#?

561


Is an array an object c#?

529