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 purpose of interface in c#.net

Answer Posted / mayur teli

Basic purpose is to use the defined structure/pattern of common implementation on the child location.
In other word we can say that when multiple people are working on same project if they need to use some common functionality (like initializing variables for their module) instead of writing their own method name(like init(), initialize(), setup()) if we write single method name (lets say init) then this method name can be implemented by any developer who derived....
and use to achieve multiple inheritance.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Expalin the way you implement inheritance by using VB.NET/C#?

967


What is routing in c#?

910


What do you mean by hashtable c#?

1019


what is a destructor?

988


In a single .NET DLL how many classes it contains?

938


What is the difference between a private assembly and a shared assembly?

1004


Can we inherit sealed class in c#?

881


What is the difference between asp net and c#?

923


What are the differences between a class and a struct?

1097


How do partial classes work in c#?

951


What are the methods in c#?

964


What are regular expressions? Search a string using regular expressions?

880


Can we override main method in c#?

964


What benefit do you get from using a primary interop assembly (pia)?

975


What is orm in c#?

967