Int16.IEqualityOperators<Int16,Int16,Boolean>.Equality Operator
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two values to determine equality.
static bool System.Numerics.IEqualityOperators<System.Int16,System.Int16,System.Boolean>.operator ==(short left, short right) = System::Numerics::IEqualityOperators<short, short, bool>::op_Equality;
C#
static bool IEqualityOperators<short,short,bool>.operator ==(short left, short right);
static member ( = ) : int16 * int16 -> bool
Shared Operator == (left As Short, right As Short) As Boolean Implements IEqualityOperators(Of Short, Short, Boolean).op_Equality
- left
- Int16
The value to compare with right
.
- right
- Int16
The value to compare with left
.
true
if left
is equal to right
; otherwise, false
.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: