I am wondering how you can include multiple case items on a single line in C#. It’s possible in VB and it saves a lot of time when there are several items that need to be processed by the same function.
VB Example
Select Case TextBox1.Text[indent]case "Joe", "Mark", "John"[indent]'A Single Function
[/indent][/indent]End Select
I cannot find a way to do this in C#. Can someone please give me an example?
TIA