Answers for "c# if logical operators"

C#
1

or in if statement c#

if (title == "User greeting" || "User name") 
{
  do stuff
}
Posted by: Guest on August-10-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

Code answers related to "c# if logical operators"

C# Answers by Framework

Browse Popular Code Answers by Language