Прочетете на английски Редактиране

Споделяне чрез


ImmutableArray<T>.Equals Method

Definition

Overloads

Equals(Object)

Determines if this array is equal to the specified object.

Equals(ImmutableArray<T>)

Indicates whether specified array is equal to this array.

Equals(Object)

Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs

Determines if this array is equal to the specified object.

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

Parameters

obj
Object

The Object to compare with this array.

Returns

true if this array is equal to obj; otherwise, false.

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0

Equals(ImmutableArray<T>)

Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs

Indicates whether specified array is equal to this array.

C#
public bool Equals(System.Collections.Immutable.ImmutableArray<T> other);

Parameters

other
ImmutableArray<T>

An object to compare with this object.

Returns

true if other is equal to this array; otherwise, false.

Implements

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0