Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# Equivalent To VFP DO CASE
Message
From
29/12/2004 05:54:40
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
C# Equivalent To VFP DO CASE
Miscellaneous
Thread ID:
00972871
Message ID:
00972871
Views:
46
I am trying to convert some strings based on conditions. In VFP I would do something like:
DO CASE
CASE condition a
   && code here
CASE condition b
   && code here
OTHERWISE
   && code here
ENDCASE
How would this be coded in C#?

TIA, Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform