✅ How to correctly write conditions with expressions? - C#