❔ How do I refactor this? - C#