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 a strong name in c#?
How can you set image source dynamically from c# application to ”test.png” file?
What is xml c#?
Is visual c# free?
What does exclamation mark mean c#?
What is sqlconnection in c#?
What does dbml mean in texting?
what are the contents of an assembly ?
How many root nodes are there in an xml document?
What is tryparse c#?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
What do you mean by stack and heap in c#?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
What is the use of tryparse in c#?