Answers for "? : condition operators in c sharp"

C#
0

c# condition and

true && true  // = true
true && false // = false
Posted by: Guest on August-25-2021
1

c sharp or operator in if statement

//You can't just use:
if (5 == 5 || 6) { ERROR }
//With the || being the OR.

//You have to say:
if (5 == 5 || 6 == 6) { WORKED }

//Hope that helped! :)
Posted by: Guest on July-22-2021

C# Answers by Framework

Browse Popular Code Answers by Language