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 / venkatesan

Interface is a contract which declares a method inside and
gives the implementation in different classes using
polymorphism. we cannot create a object to an interface but
we can create a reference for an interface.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array immutable in c#?

872


What are Namespaces?

1337


Can I use parseint?

883


Is string a data type in c#?

841


What is cache memory in c#?

902


What is the data provider name to connect to access database?

977


Is javascript harder than c#?

956


If you donot specify an access modifier for a method, what is the default access modifier?

1031


What is the difference between == and object.equals?

976


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

952


Describe ways of cleaning up objects in c#.

899


What is type cast in C#?

989


what is a structure in c#

1662


What is the difference between protected and internal in c#?

1007


What is difference between abstraction and encapsulation in c#?

1017