and OR C# operators code example
Example 1: c# and
//the and operator in c sharp is "&&" (hold shift and 6 ;))
if(a == 0 && b == 0)
{
//both a and b is 0
}
Example 2: what is the and in c#
//The AND Symbol is &
//the and operator in c sharp is "&&" (hold shift and 6 ;))
if(a == 0 && b == 0)
{
//both a and b is 0
}
//The AND Symbol is &