Edit

Share via


Span2D<T>.Equals(Object) Method

Definition

Caution

Equals() on Span will always throw an exception. Use == instead.

Indicates whether this instance and a specified object are equal.

[System.Obsolete("Equals() on Span will always throw an exception. Use == instead.")]
public override bool Equals (object? obj);
[<System.Obsolete("Equals() on Span will always throw an exception. Use == instead.")>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare with the current instance.

Returns

true if obj and this instance are the same type and represent the same value; otherwise, false.

Attributes

Applies to