EY Interview Question

oops, c#, design patterns