Sample C# code demonstrating the Strategy pattern