Cyient interview question

Solid and design patterns c#