My C# code