Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strongly Typed Dataset Question
Message
From
17/04/2007 15:02:15
 
 
To
17/04/2007 13:20:09
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01215567
Message ID:
01216950
Views:
14
>>C# DOES have IIF :
>>
>>iifValue = condition ? trueValue : falseValue;

>
>Ah, good point ... forgot about that. Not as pleasant to look at though, is it? <g>

All kidding aside, I like the C# syntax as much as say VFP's IIF(). In general I find the extra / advanced operators in C# a joy to use compared to (again) VFP (I don't know about VB.NET operators).
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform