What does the logical AND operator (&&) do in C#?
A. Returns false if either operand is false
B. Returns true if both operands are false
C. Returns true if both operands are true
D. Returns true if either operand is true
Answer: Option C
Related Questions on Operators and Expressions in C Sharp
What does the modulus operator (%) do in C#?
A. Increments the operand by 1
B. Returns the quotient of a division
C. Performs multiplication
D. Returns the remainder of a division
Join The Discussion