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

Explain the difference between asp.net and asp?

1122


What is meant by localization?

1171


What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?

935


What is a .net class?

1175


Is .net core free?

1077


I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?

1007


What are the improvements made in cas in .net 4.0?

952


Explain .NET architecture?

1109


Explain clr, cts and cls?

1079


What is singleton activation mode in .net?

1134


What is the difference between override and overload in a method?

1158


How server form post-back works?

1073


Explain dataset.acceptchanges and dataadapter.update methods in .net?

981


What is the difference between constants and read-only variables?

1067


What should you do to store an object in a viewstate?

1063