❔ How to avoid multiple loop of collection? - C#