DateOnly.Inequality(DateOnly, DateOnly) Operator

Definition

Determines whether two specified instances of DateOnly are not equal.

public:
 static bool operator !=(DateOnly left, DateOnly right);
public static bool operator != (DateOnly left, DateOnly right);
static member op_Inequality : DateOnly * DateOnly -> bool
Public Shared Operator != (left As DateOnly, right As DateOnly) As Boolean

Parameters

left
DateOnly

The first object to compare.

right
DateOnly

The second object to compare.

Returns

true if left and right do not represent the same date; otherwise, false.

Applies to