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

Definition

Compares two values to determine equality.

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

Parameters

left
Int32

The value to compare with right.

right
Int32

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