NRange.Equals Method

Definition

Overloads

Equals(NRange)

Compares the current NRange object to another NRange object for equality.

Equals(Object)

Compares the current NRange object to another object of the same type for equality.

Equals(NRange)

Source:
NRange.cs
Source:
NRange.cs

Compares the current NRange object to another NRange object for equality.

C#
public bool Equals(System.Buffers.NRange other);

Parameters

other
NRange

An object to compare with this object.

Returns

Implements

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

Equals(Object)

Source:
NRange.cs
Source:
NRange.cs

Compares the current NRange object to another object of the same type for equality.

C#
public override bool Equals(object? value);

Parameters

value
Object

An object to compare with this object.

Returns

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)