This might sound silly. But I'm working on a C# assignment for school right now, and I can't get a simple if-else statement to work. Isn't the syntax the same as in C++ or Java?
I want to do one thing if a boolean variable is true, something else if it's not. The "bool" type exists in C#, right?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Online 13,645 posts
since Feb 2002