>>>Any way to do this in C# like VFP's IIF()?
>>>
>>>
>>>if (Checked)
>>>{
>>> _CheckItemsCount++;
>>>}
>>>else
>>>{
>>> _CheckItemsCount--;
>>>}
>>>
>>
>>
_CheckedItemsCount+= (Checked) ? 1:-1;
>
>IMHO, this is harder to read than the original.
Probably because you're not used to reading it :-}