❔ Is there a way to make this neater? - C#