Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF conditional coding
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01046886
Message ID:
01046892
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform