Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF In C#?
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01455229
Message ID:
01455267
Views:
65
>>Any way to do this in C# like VFP's IIF()?
>>
>>
>>if (Checked)
>>{
>>    _CheckItemsCount++;
>>}
>>else
>>{
>>    _CheckItemsCount--;
>>}
>>
>
>
_CheckedItemsCount+=    (Checked) ? 1:-1;
Never seen this before. Can you explain the syntax?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform