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
What is static and use of it?
What is master page in asp net c#?
Why we use delegates in c#?
What's the implicit name of the parameter that gets passed into the set method/property of a class?
What is default constructor c#?
Can we have multiple constructors in a class c#?
Explain the difference between a sub and a function in c#.
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
What is task parallel library?
What is trim in c#?
What is the difference between protected and private?
Which are the loop types available in c#?
What are some examples of desktop applications?
Explain the role of the datareader class in ado.net connections?
What does private void mean in c#?