search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
388 views
asked Guru 27.1k points 31 47 92

2 Answers

0 votes
In Visual Basic, the Select-Case statement is used to replace multiple If - Else statements and in C#, the switch-case statement is used to replace multiple if-else statements.
 
answered Guru 24.6k points 29 51 75
0 votes
A switch statement is generally best to use when you have more than two conditional expressions based on a single variable of numeric type.
answered Expert 15k points 15 23 28

Related questions

0 votes
1 answer 36 views
36 views
asked sunny Expert 11.4k points 14 22 27
0 votes
1 answer 26 views
0 votes
1 answer 57 views
0 votes
1 answer 7 views
7 views
asked rock Expert 15k points 15 23 28
0 votes
1 answer 13 views
13 views
asked rock Expert 15k points 15 23 28
...