Есть ли способ использовать статус Select Case в VB.net для beginwith? Или мне нужно использовать long elseif? Пример:
If text.StartsWith("/go") then
elseif test.StartsWith("/stop")
elseif test.StartsWith("/continue")
End If
Но вместо этого что-то вроде:
Select Case text
Case text.StartsWith("/go")
Case text.StartsWith("/stop")
Case text.StartsWith("/continue")
Case Else
End Select
End Sub