Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF conditional coding
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01046886
Message ID:
01046892
Vues:
16
Just a few seconds ago, I remembered that with C#.NET, you have to use ==, unlike VFP. I just started a C# class a couple weeks ago at a local JC caleld MT SAC and am rusty from when I played with it a couple years ago.

Thanks for answering my very basic question. I refuse to be embarrassed, as I won't learn anything if I act like I know it all, so I will have to show my ignorance for a while, until I "get it". I am a VFP developrr and love it but I can also see how C# and VB.NET are coming on to the market whether I want it here or not, so I'm going to learn it.

Do you feel comfortable enough in this language and how long, if so, did it take you to feel at ease in it?

>Hi, Cecil,

>In C#, when you're doing an comparison in an IF test, you need to use the comparison operator == (double equal sign)
if (this.titleCheckBox.Checked == true)
>(I'm assuming you were getting a compile error.) Let me know if that helps...

>Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform