Int16.IEqualityOperators<Int16,Int16,Boolean>.Equality Operator

Definition

Compares two values to determine equality.

C#
static bool IEqualityOperators<short,short,bool>.operator ==(short left, short right);

Parameters

left
Int16

The value to compare with right.

right
Int16

The value to compare with left.

Returns

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

Implements

Applies to

Product Versions
.NET 7, 8, 9