Why do we use virtual methods in c#?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is the difference between system.string and system.text.stringbuilder classes?

0 Answers  


can we throw execption from catchblock

4 Answers   Accenture,


What is a decimal c#?

0 Answers  


Can we create instance for Abstract class?

28 Answers   HCL, Satyam, SoftSol, Wipro,


can it possible to acees the virthual method using the override method object? plz give me the example

2 Answers  






What do multicast delegates mean?

0 Answers  


Give 2 scenarios where static constructors can be used?

0 Answers  


Consider the following pieces of C# code: a. interface I1 {/*......*/} interface I2 {/*......*/} struct Point : I1,I2 {/* ..... */} b. struct Book{ int bookId; struct Book b; } c. using M=Mystruct; struct MyStruct{ int id; } class MyClass{ static void Main(string[] args){ M m = new M(); } } d. struct Sample{ Sample ref x; } Which of the above are correct? Choose one of the options below. a, c and d are right a only right a and c are right d only wrong None of the listed options

3 Answers  


What is generic types in c#?

0 Answers  


what is class libraries?

1 Answers  


What is data annotation in c#?

0 Answers  


What is concatenation and when should it be used?

0 Answers  


Categories