Cyient Interview Question

Solid and design patterns c#