interface a
{
Method1()
Method2()
}
class b: a
{
override Method1()
override Method2()
}

what will happen & why?

Answer Posted / sandeep joshi

without virtual keyword
cant override method
its error at compile time .....

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Contrast System.String and System.Text.StringBuilder classes?

603


What is the delegates in c#?

587


Why we need get set property in c#?

630


What do you mean by jagged array?

585


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

615






Wht executescaler method is used?

616


Explain the difference between “as” and “is” operators used in c#?

586


What is ado net in c#?

592


What are the benefits of using windows services:

625


How we can create an array with non-default values?

597


What are the advantages of constructor?

525


What is a factory in c#?

562


Is an array an object c#?

623


What is use of a HashTable in .NET?

798


Is a char?

535