Added C# version