We as software developers must always ...always remember to program to Interfaces NOT to Implementations. I'll tell you why. Everybody who's doing developing should know about software changes. We have to spent time on enhancements rather than the initial implementation. So what we require is a good design. IT IS A MUST, believe me. I had plenty of nightmares programming to bad designs. Check out the below UML design.
Proper user of Interfaces in C#
Proper user of Interfaces in C#
Proper user of Interfaces in C#
We as software developers must always ...always remember to program to Interfaces NOT to Implementations. I'll tell you why. Everybody who's doing developing should know about software changes. We have to spent time on enhancements rather than the initial implementation. So what we require is a good design. IT IS A MUST, believe me. I had plenty of nightmares programming to bad designs. Check out the below UML design.