Range.Equals Method

Definition

Overloads

Equals(Object)

Returns a value that indicates whether the current instance is equal to a specified object.

Equals(Range)

Returns a value that indicates whether the current instance is equal to another Range object.

Equals(Object)

Source:
Range.cs
Source:
Range.cs
Source:
Range.cs

Returns a value that indicates whether the current instance is equal to a specified object.

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

Parameters

value
Object

An object to compare with this Range object.

Returns

true if value is of type Range and is equal to the current instance; otherwise, false.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.0 (package-provided), 2.1

Equals(Range)

Source:
Range.cs
Source:
Range.cs
Source:
Range.cs

Returns a value that indicates whether the current instance is equal to another Range object.

public bool Equals (Range other);

Parameters

other
Range

A Range object to compare with this Range object.

Returns

true if the current instance is equal to other; otherwise, false.

Implements

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.0 (package-provided), 2.1