Index.Equals Method

Definition

Overloads

Equals(Index)

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

Equals(Object)

Indicates whether the current Index object is equal to a specified object.

Equals(Index)

Source:
Index.cs
Source:
Index.cs
Source:
Index.cs

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

public bool Equals (Index other);

Parameters

other
Index

The object to compare with this instance.

Returns

true if the current Index object is equal to other; false otherwise.

Implements

Applies to

.NET 9 a další verze
Produkt Verze
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.0 (package-provided), 2.1

Equals(Object)

Source:
Index.cs
Source:
Index.cs
Source:
Index.cs

Indicates whether the current Index object 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 instance.

Returns

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

Applies to

.NET 9 a další verze
Produkt Verze
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.0 (package-provided), 2.1