Answers for "explain logical operator in c#"

C#
0

and operator in c#

int x=10, y=5;
Console.WriteLine("----- Logic Operators -----");
Console.WriteLine(x > 10 && y < 10);
Posted by: Guest on November-06-2021
0

or operator in c#

int x=15, y=5;
Console.WriteLine("----- Logic Operators -----");
Console.WriteLine(x > 10 || 100 > x);
Posted by: Guest on November-06-2021

C# Answers by Framework

Browse Popular Code Answers by Language