Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF In C#?
Message
De
17/03/2010 18:03:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01455229
Message ID:
01455240
Vues:
91
>Any way to do this in C# like VFP's IIF()?
>
>
>if (Checked)
>{
>    _CheckItemsCount++;
>}
>else
>{
>    _CheckItemsCount--;
>}
>
_CheckItemsCount += (Checked) ? 1 : -1;
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform