Published
- 1 min read
c# and
The solution for this is noted below
c# and
Solution
//the and operator in c sharp is "&&" (hold shift and 6 ;))
if(a == 0 && b == 0)
{
//both a and b is 0
}
Try other methods by searching on the site. That is if this doesn’t work