Sembra che impili i casi insieme non funzionano come uno. Poiché i casi VB.NET non richiedono l'uso di Exit Select
/Return, sembra che venga inserito automaticamente ogni volta che viene rilevato un nuovo caso sotto di esso?Stacking VB.NET Selezionare le istruzioni caso insieme come in Switch C#/Java
Dim Test as Integer = 12
Select Case Test
Case 11
Case 12
Case 13
MsgBox.Show("Could be 11 or 12 or 13?")
End Select
Non sembra funzionare solo 13 opere ..
Gotta always remember this rule that you can't stack Cases like this from now on
Non è facile da ricordare quando porting applications.`
Il [sito dotnet perls] (http://www.dotnetperls.com/select-vbnet) mi ha fatto lo stesso errore ... – Zac
Haha si qualcuno deve segnalare a quel sito che si sbagliava – SSpoke