Hi Starbuck,
You can use an if/else if/else statement, similar to this:
if (val >= 0 && val <= 206)
{
// your code
}
else if (val >= 207 && val <= 252)
{
}
//...more else ifs
else
{
// when nothing else matches
}
Joe
--
Joe Mayo, Author/Instructor
Need C#/.NET training?
visit
www.mayosoftware.com
C# Tutorial -
www.csharp-station.com
"Starbuck" <st******@mbssoft.co.uk> wrote in message
news:e3**************@tk2msftngp13.phx.gbl...
Hi
I am converting a app from VB6 to C# and I was wondering if anyone can
tell me how to implement the following in c#
case 207 To 252
Thanks in advance