Sample C# solution with decorator pattern