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 the difference between list and arraylist c#?
What is the different types of private assembly and shared assembly?
To catch any possible exception What is the C# syntax written ?
Can you have more than one namespace in c#?
What is the difference between IEnumerator and IEnumerable?
What's the difference between class and object?
What is fcl in c#?
What are callback methods in c#?
What is disco?
What is collection class c#?
How long can a string be c#?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What are the uses of delegates in c#?
What is class sortedlist underneath?
To create a localized application which namespaces are necessary?