Siemens interview question

Design Pattern Implementation in c#