❔ What's the reason for the warning? - C#