Solution of the task at the C# QualityCode Exam August 2014