Design Patterns: Implement ISP in a New Design

Level : Intermediate
Mentor: Shailendra Chauhan
Type : GuidedLab
Points : 10
Duration : 00:25:00

Lab Details

Problem Statement:

A lab to follow the ISP principle while doing your code in C#.

  • Design an interface IDatabaseOperations with methods connect(), disconnect(), readData(), and writeData().
  • Split this interface into more specific interfaces.
  • Implement these interfaces in MySQLDatabase and SQLServerDatabase classes.

Lab Objective:

Upon completion of this lab, you will be able to:

  • Implement the Interface Segregation Principle (ISP) in a new design.
  • Design and development of specialized interfaces, including IConnection, IReadable, and IWritable.
  • Implementation of these interfaces in MySQL and SQLServerDatabase classes.


You should install the following software on your machine:

  • VS Code or Visual Studio
  • .NET SDK
Self-paced Membership
  • 22+ Video Courses
  • 800+ Hands-On Labs
  • 400+ Quick Notes
  • 55+ Skill Tests
  • 45+ Interview Q&A Courses
  • 10+ Real-world Projects
  • Career Coaching Sessions
  • Email Support
Upto 60% OFF
Know More
Still have some questions? Let's discuss.
Accept cookies & close this