Operator Inequality
Inequality(DateTimeRange, DateTimeRange)
Peforms an inequality check, equivalent to calling !Equals(DateTimeRange).
Declaration
public static bool operator !=(DateTimeRange range1, DateTimeRange range2)
Parameters
Type | Name | Description |
---|---|---|
DateTimeRange | range1 | A DateTimeRange instance to compare. |
DateTimeRange | range2 | A DateTimeRange instance to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if the instances are considered unequal. |