Qus:    If you want to replace multiple if-else statements in code, which statement will you use?
Nov 02, 2020 05:16 2 Answers Views: 104 KRISHNA SWAROOP
Prev Next
Answers (2)
DIVYA Nov 03, 2020 02:44
Answer:   In Visual basic, we can use Select-Case statement to replace multiple If-Else statement. In C#, we should use Switch-Case statement to replace multiple If-Else statement.

PARTH Nov 10, 2020 08:14
Answer:   You can use the switch statement if you want to replace multiple if-else statements in your code.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect