Articles → .NET → Open Close principle in C#

Open Close principle in C#






What does the open-close principle say?





open-close principle in C#





Example




public interface IRepo {
  void get();
}

public class Repo: IRepo {
  public void get() {
    throw new NotImplementedException();
  }
}





Posted By  -  Karan Gupta
 
Posted On  -  Monday, December 28, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250