i can'n understand what is original usage of interface..
Please ,,what is real time example of interface in c#,,in C# where is Use interface?
Interface In C#
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Oct 9, 2012, 8:51 AM EDT
http://msdn.microsoft.com/en-us/library/27db6csx(v=vs.80).aspx
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Oct 9, 2012, 9:56 AM EDT
http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_interrfaces03052006095933AM/csharp_interrfaces.aspx
Thanks
Sandeep
Posted Oct 9, 2012, 2:50 PM EDT
Then we go to the concept of Multiple Inheritance this is just to explain the Interface. Multiple inheritance means we have to inherit from many classes that means a child has to inherit from many parents. This is practically impossible idea because a child does not have many parents. To overcome this idea Interface is introduced in C#.
Actually Interface is an alternative to multiple inheritance. In some languages multiple inheritance is allowed.