Solved C# problems