looking onto how to improve my code - C#