Comparison operators

In C #, we can use the following comparison operators:

Operator Notation Applicable for
Equals == numbers, strings, dates
Not equals !=
Greater than > numbers, dates, other comparable objects
Greater than or equals >=
Less than <
Less than or equals <=

Example:

results matching ""

    No results matching ""