switch
- From: "Evan Camilleri" <e70mt@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Feb 2006 17:49:42 +0100
I am going from VB.NET to c#. How can I do the following?
switch x
{
case < 10:
do something;
break;
case < 50:
do something;
break;
case < 80:
do something;
break;
default:
do something;
break;
}
.
- Follow-Ups:
- Re: switch
- From: Michael S
- Re: switch
- From: Vipul Patel
- Re: switch
- From: Nicholas Paldino [.NET/C# MVP]
- Re: switch
- Prev by Date: Re: Read variable from file and re-create with correct type
- Next by Date: MailFormat - sending email messages with carriage return
- Previous by thread: Re: Read variable from file and re-create with correct type
- Next by thread: Re: switch
- Index(es):