Space age exercise in C#