solutions written in c#