+ 1
If I set up a boolean and put if(gav == True), where gav is the boolean, it says "The name 'True' does not exist in this context
How does this make any sense? True is a valid boolean value. So why isn't it working?
2 Respostas
+ 4
Boolean values are not capitalized in C#
side note: gav == true is also redundant, you can just say if(gav)
+ 2
Okay it works now. Thanks.