VB.Net Switch 语句
Select Case numColumns Case 0 numColumns = numColumns + 1 'Some code Case 1 numColumns = numColumns + 1 'Some different code Case 2 numColumns = numColumns + 1 'Some even more different code Case Else 'Do Nothing End Select
Select Case numColumns Case 0 To 2 numColumns = numColumns + 1 'Some code Case Else 'Do Nothing End Select
Select Case numColumns Case 0 To 2 numColumns = numColumns + 1 Select Case numColumns Case 0 'Some code Case 1 'Some different code Case 2 'Some even more different code End Select Case Else 'Do Nothing End Select
标签:Case,VB,numColumns,End,Some,Switch,code,Net,Select From: https://www.cnblogs.com/Sunshine-bing/p/17828209.html