Are two objects equal? Arrays have the standard object equals method which only returns true if the two object are the same. This method returns true if every element of the arrays match. The inputs may be of any dimensionality. The dimensionality and dimensions of the arrays must match as well as any elements. If the elements are non-primitive. non-array objects, then the equals method is called for each element. If both elements are multi-dimensional arrays, then the method recurses.


Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ArrayEquals( _ 
   ByVal x As Object,  _ 
   ByVal y As Object,  _ 
   ByVal tolf As Double,  _ 
   ByVal told As Double _ 
) As Boolean
C#
public static bool ArrayEquals(
   object x,
   object y,
   double tolf,
   double told
)
C++
public:
 static bool ArrayEquals(
   Object x,
   Object y,
   double tolf,
   double told
)
J#
public static bool ArrayEquals(
   object x,
   object y,
   double tolf,
   double told
)
JScript
public static  function ArrayEquals(
   x : Object,
   y : Object,
   tolf : double,
   told : double
) : bool

See Also