Can we use if else in switch case C#?

C# Nested if/else Statements We can also use if or else inside another if or else statements . To understand this, let’s see an example to print whether a number is the greatest or not by using one if inside another if.

Sizin İçin Seçtik  Which is good switch case or if-else?

Leave a Reply

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