Interface and abstract difference
interface class and abstract class difference with example
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
Dipankar BiswasRank #992 · 2K reputationPosted Nov 21, 2014, 6:16 PM EST
http://www.dotnetbull.com/2011/11/difference-between-abstract-class-and.html
http://forums.asp.net/t/1997754.aspx?difference+between+abstract+class+and+interface+in+c+with+example
Mukesh Kumar TiwariRank #1,773 · 844 reputationPosted Nov 21, 2014, 6:26 PM EST
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Nov 21, 2014, 6:35 PM EST
Hi Chandrashekar Shirasangi,
Visit following links it might be helpful for you.
http://www.codeproject.com/Articles/11155/Abstract-Class-versus-Interface
http://www.dotnetbull.com/2011/11/difference-between-abstract-class-and.html
http://stackoverflow.com/questions/15178219/whats-the-difference-between-an-abstract-class-and-an-interface
Yadagiri ReddyRank #773 · 3K reputationPosted Nov 21, 2014, 9:48 PM EST
MahaRank #2,573 · 543 reputationPosted Nov 21, 2014, 11:38 PM EST
First to understand Interface, you must know the inheritance well.
One parent class can have many child classes inherit from its parent class. But C# will not allow a child class to inherit from many parent classes. Because one child can't have many parents, this is a real world scenario.
In other words multiple inheritances are not allowed in C#. In order to fulfill such a need Interfaces are used.