nventive interview question

Design patterns, C#