Skip to content

M_CodeJam_Collections_ArrayExtensions_EqualsTo_5

andrewvk edited this page Apr 26, 2016 · 9 revisions

ArrayExtensions.EqualsTo Method (Int16[], Int16[])

[This is preliminary documentation and is subject to change.]

Returns true, if length and content of a equals b.

Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static bool EqualsTo(
	this short[] a,
	short[] b
)

VB

<ExtensionAttribute>
Public Shared Function EqualsTo ( 
	a As Short(),
	b As Short()
) As Boolean

F#

[<ExtensionAttribute>]
static member EqualsTo : 
        a : int16[] * 
        b : int16[] -> bool 

Parameters

 

a
Type: System.Int16[]
The first array to compare.
b
Type: System.Int16[]
The second array to compare.

Return Value

Type: Boolean
True, if length and content of a equals b.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

ArrayExtensions Class
EqualsTo Overload
CodeJam.Collections Namespace

Clone this wiki locally