kwh3856
asked on
How do you define a variable as a bit or True in C#?
I need to define a variable as true but I am unsure what/how to assign the variable. Here is how I am trying to do it now but obviously it is not right. Can someone point me in the right direction?
bit CoveredLoad = true;
bit CoveredLoad = true;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
try Boolean (or bool for short).
example:
bool IsThisTrue = true;
example:
bool IsThisTrue = true;
ASKER
Thanks
Kenny