Vector<T>::Equals Method (Object)

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

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System::Object

The object to compare with this instance.

Return Value

Type: System::Boolean
true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance.

Two vectors are equal if they are of the same type, have the same number of values, and each value in the current instance is equal to the corresponding value in other.

Show: