lunes, 5 de diciembre de 2022

VB.NET Switch Statement GoTo Case

 Select Case parameter     

   Case "userID"                
      ' does something here.        
   Case "packageID"                
      ' does something here.        
   Case "mvrType"                 
      If otherFactor Then                         
         ' does something here.                 
      Else                         
         ' do processing originally part of GoTo here
         Exit Select  
      End If      
End Select

https://stackoverflow.com/questions/820104/vb-net-switch-statement-goto-case

No hay comentarios:

Publicar un comentario