The % operator computes the remainder after dividing its first operand
by its second. All numeric types have predefined remainder operators.User-defined types can overload the % operator (see operator). When a
binary operator is overloaded, the corresponding assignment operator,
if any, is also implicitly overloaded.
The inequality operator (!=) returns false if its operands are equal,
true otherwise. Inequality operators are predefined for all types,
including string and object. User-defined types can overload the !=
operator.For predefined value types, the inequality operator (!=) returns true
if the values of its operands are different, false otherwise. For
reference types other than string, != returns true if its two operands
refer to different objects. For the string type, != compares the
values of the strings.User-defined value types can overload the != operator. So can
user-defined reference types, although by default != behaves as
described above for both predefined and user-defined reference types.
If != is overloaded, == must also be overloaded. Operations on
integral types are generally allowed on enumeration.
The & operator can function as either a unary or a binary operator.
The unary & operator returns the address of its operand (requires
unsafe context).Binary & operators are predefined for the integral types and bool. For
integral types, & computes the logical bitwise AND of its operands.
For bool operands, & computes the logical AND of its operands; that
is, the result is true if and only if both its operands are true.The & operator evaluates both operators regardless of the first one’s
value.
The conditional-AND operator (&&) performs a logical-AND of its bool
operands, but only evaluates its second operand if necessary.
solved Can someone explain me what do these operators mean in C#? [closed]