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?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Oct 9, 2012, 6:50 PM
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.
Sandeep Singh ShekhawatPosted Oct 9, 2012, 1:56 PM
http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_interrfaces03052006095933AM/csharp_interrfaces.aspx
Thanks
Sandeep
Santhosh Kumar JayaramanPosted Oct 9, 2012, 12:51 PM
http://msdn.microsoft.com/en-us/library/27db6csx(v=vs.80).aspx