Recently I was asked in an interview on what design patterns are suitable for implementing the Solid principles. As I have understood, OCP can be implemented with strategy pattern. Other than that I couldn’t relate any other pattern to other principles. Would be really appreciated if someone can help me point out on what patterns can be used to implement SRP, LSP and ISP in C#.
Aucun commentaire:
Enregistrer un commentaire