Can characters be used in switch-case?

You can use char ‘s for the switch expression and cases as well .

Sizin İçin Seçtik  Does switch case work with strings in C#?

Leave a Reply

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