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...

what is the real use of interface in c#,other than that
multiple inheritance is not possible

Answer Posted / pugal

When creating a standalone project which can be
changed at will, use an interface in preference to an
abstract class; because, it offers more design flexibility.

Use an interface to design a polymorphic hierarchy
for value types.

Use an interface when an immutable contract is
really intended.

A well-designed interface defines a very specific
range of functionality. Split up interfaces that contain
unrelated functionality.

Is This Answer Correct ?    48 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different properties of object oriented systems.

974


What is the predicate of a sentence?

911


Why do we need reflection in c#?

909


Why abstract class can not be instantiated?

860


What is the difference between dynamic and var in c#?

917


Can abstract class be sealed in c#?

877


What is the use of oops in c#?

906


What is unmannaged code and will CLR handle this kind of code or not .

1005


What is the example of predicate?

910


Is and as keyword in c# net?

962


Explain attributes in c#?

826


What is deadlock in c#?

925


Can abstract class have constructor in c#?

923


How many bytes is a char c#?

879


Give examples for reference types?

981