Design patterns small samples (C#)