mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
450 B
24 lines
450 B
Imports System |
|
|
|
Module Program |
|
Sub SelectOnString() |
|
Select Case Environment.CommandLine |
|
Case "123" |
|
Console.WriteLine("a") |
|
Case "444" |
|
Console.WriteLine("b") |
|
Case "222" |
|
Console.WriteLine("c") |
|
Case "11" |
|
Console.WriteLine("d") |
|
Case "dd" |
|
Console.WriteLine("e") |
|
Case "sss" |
|
Console.WriteLine("f") |
|
Case "aa" |
|
Console.WriteLine("g") |
|
Case "" |
|
Console.WriteLine("empty") |
|
End Select |
|
End Sub |
|
End Module
|
|
|