Difference between abstract class and interface

S Sharif

Founder of Technical Diary. Software engineer and passionate about technologies to learn and share. Crazy about best practices and new technology. I have worked in C#,ASP.NET MVC, HTML5, AngularJs SharePoint and SQL Server. I always try to keep myself updated and learn and implement new technologies. You can connect me on Twitter Facebook LinkedIn.

You may also like...

1 Response

  1. Jason says:

    Not to nit-pick, but we “implement” an interface, no “inherit from” an interface. Otherwise a nice discussion on the both abstractions. I use them both. Typically I will use them both. I’ll use interfaces unless I suspect that that at some point a concrete implementation will be needed by its descendants. In that case an abstract class is the way to go.

Leave a Reply

Your email address will not be published. Required fields are marked *