+ 1

How to use boolean-logic using c# ?

I'm trying to learn how to use boolean logic, please can someone help.

21st Apr 2020, 8:24 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
2 Respostas
+ 2
You can simpy write: bool isCarOn = true; Console.WriteLine(isCarOn); //Output: true
21st Apr 2020, 9:19 PM
Abdoul Hakim
Abdoul Hakim - avatar
+ 1
Thank you Abdoul Hakim
21st Apr 2020, 9:20 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar