C# Extension methods are empowering Open/Close principle

Before c# extension methods the way to obey Open/Close principle was implementation of abstract-interfaces or inheritance. But extension methods have give a simplistic and practical approach to get entities do more without even know about their predefined interfaces.

Do you support or contradict my observation… and of-course why?

by websanskriti via /r/csharp

Leave a Reply