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


Please Help Members By Posting Answers For Below Questions

Does c# support multiple class inheritance?

610


Is c# an open source language?

548


What is windows forms in c#?

472


What is the difference between malloc () and new?

493


What is desktop example?

489






List down the commonly used types of exceptions in .net

496


What is the difference between const and static read-only?

499


What is a collection class in c#?

477


What is an assembly qualified name

524


what is a enumeration in c#

573


how dot net compiled code will become platform independent?

529


How long does it take to learn c# programming?

471


what is .NET framework architecture ??

1557


What are jagged arrays used for?

482


Explain the types of comments in c#?

550