Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

is c#.net supports multiple inheritance?

Answer Posted / dipal mehta

The above one is a right answer but the reader who reads it
for referance plz Note line :

I1 i1=new sample();
i1.add();

This might confusing but It means that We have created
object of I1 interface class but with sample as a assigned
object which is valic in this case.
Now call of i1.add() will call the method of interface I1
which points to or defined in Sample class
This will more clearer if you will append two or three more
simple methods like subtract() and try to call it as above
one which actually a part of Mostly used Multiple
Inheritance funda.
personally speaking it will benefitial to you if try
yourself
Hope readers like tips

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of IClonable interface in .NET?

1096


What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

1055


The project which you have made, which methodology did you use?

1104


What is implement a generic action in webapi?

1301


How can I tell if .net 3.5 is installed?

1006


What is il and c#?

1192


What is a manifest in .net?

1100


What do the terms “boxing” and “unboxing” mean?

1022


What is file extension of Webservices in .Net?

1120


what are connection strings?

2303


What is the difference between an abstract class and an interface?

1041


What do you mean by Driver Script?

1227


Explain memory-mapped files.

1139


What does cli do?

1024


What are the new features in .net core?

1093