Pages

Men

rh

4/11/2013

Advantages of Interface in C#

Interfaces allow us to implement polymorphic behaviour. Ofcourse, abstract classes can also be used to implement polymorphic behaviour.

Interfaces allow us to develop very loosely coupled systems.

Interfaces enable mocking for better unit testing.

Interfaces enables us to implement multiple class inheritance in C#.

Interfaces are great for implementing Inverson of Control or Dependancy Injection.

Interfaces enable parallel application development.

No comments :

Post a Comment