Can we use contains in switch-case in C#?

Contains(“test”) can evaluate true or false depending on the message so it is not a constant thus cannot be used as a ‘case ‘ for switch statement.15 Kas 2011

Sizin İçin Seçtik  What does contains method do in Java?

Leave a Reply

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