How do you create multiple inheritance in C#?
Answer Posted / frank
using System;
interface Interdemo
{
void Show();
}
class Interimp:Interdemo
{
public void Show()
{
Console.WriteLine("Show() method Implemented");
}
public static void Main(string[] args)
{
Interimp inter = new Interimp();
inter.Show();
}
}
| Is This Answer Correct ? | 36 Yes | 36 No |
Post New Answer View All Answers
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is an inheritance ?Give an example in which inheritance is used?
What is a generic method?
What is an extension method in c#?
What is the difference between function and method in c#?
How do I unload an assembly?
What is dictionary collection in c#?
Which is faster dictionary or hashtable?
How Global.asax is used ?
Explain the difference between event and a delegate in c#?
Why are dynamic link library used over static one?
Why data types are important?
Why c# is type safe?
What is tpl in c#?
Explain how to use an extender provider in the project.