Vector256<T>.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the specified object is equal to the current instance.

Equals(Vector256<T>)

Determines whether the specified Vector256<T> is equal to the current instance.

Equals(Object)

Source:
Vector256_1.cs
Source:
Vector256_1.cs
Source:
Vector256_1.cs

Determines whether the specified object is equal to the current instance.

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

Parameters

obj
Object

The object to compare with the current instance.

Returns

true if obj is a Vector256<T> and is equal to the current instance; otherwise, false.

Exceptions

The type of the current instance (T) is not supported.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

Equals(Vector256<T>)

Source:
Vector256_1.cs
Source:
Vector256_1.cs
Source:
Vector256_1.cs

Determines whether the specified Vector256<T> is equal to the current instance.

C#
public bool Equals(System.Runtime.Intrinsics.Vector256<T> other);

Parameters

other
Vector256<T>

The Vector256<T> to compare with the current instance.

Returns

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

Implements

Exceptions

The type of the current instance (T) is not supported.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10