adding Challenge 7 for C#