Edit

Share via


IEqualityOperators<TSelf,TOther,TResult>.Inequality Operator

Definition

Compares two values to determine inequality.

public:
 static TResult operator !=(TSelf left, TOther right);
public static abstract TResult operator != (TSelf? left, TOther? right);
static member op_Inequality : 'Self * 'Other -> 'Result
Public Shared Operator != (left As TSelf, right As TOther) As TResult

Parameters

left
TSelf

The value to compare with right.

right
TOther

The value to compare with left.

Returns

TResult

true if left is not equal to right; otherwise, false.

Applies to