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
Explain about Threading Types.
What is the difference between add and addrange in c#?
Can you have parameters for static constructors?
What is Co- and Contra-Variance in C#?
Define method overloading in c#?
How to implement an object pool in c#.net.
Where value types are stored in c#?
How can you access a private method of a class?
What are data types in C#?
What is virtual in c#?
What is difference between write and writeline in c#?
What is the output of TextWriterTraceListener redirected?
What are the different types of constructors in c#?
Why singleton pattern is used in c#?
What is better C# or VB.NET?