C# coding tasks