How to use boolean-logic using c# ? | Sololearn: Learn to code for FREE!

+1

How to use boolean-logic using c# ?

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

4/21/2020 8:24:43 PM

Joseph Oritseweyinmi

2 Answers

New Answer

+2

You can simpy write: bool isCarOn = true; Console.WriteLine(isCarOn); //Output: true

+1

Thank you Abdoul Hakim