Can you use && in switch?

7 Answers. The simple answer is No. You cant use it like that . Switch works with single expression.

Sizin İçin Seçtik  Can we use or operator in switch case in C#?

Leave a Reply

Your email address will not be published. Required fields are marked *