MCQs > Softwares & Applications > Microsoft Visual Studio > What would be the error in the above construct ?

Microsoft Visual Studio MCQs

Given the following code

1        Select Case a 

2                Case 1

3               Msgbox "the value of a is 1"

4                Case 2,3

5                        Msgbox "the value of a is either 2 or 3"                

6                Case is > 5

7                        Msgbox "the value of a is greater than 5"                

8        End Case

What would be the error in the above construct ?

Answer

Correct Answer:

The construct should terminate with the End Select clause at line 8. 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Microsoft Visual Studio Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Microsoft Visual Studio Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it