>
>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