I am trying to use SELECT CASE
in my code.
but even the value of the variable is in between the set value in SELECT CASE
it does not hit the code inside that case.
for example:
Dim i as Integer = 27
Select Case i
Case 3 To 33
'This would be Hit
Case 34 To 50
'Some Code
Case Else
End Select
Now. The code below in comment This would be hit cannot be executed.
How to fix it?
Regards,