15 June 2014

Which statement is used to replace multiple if-else statements in code.

                 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.

No comments: