-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_ArrayExtensions_EqualsTo__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
9 revisions
Returns true, if length and content of a equals b.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static bool EqualsTo<T>(
this Nullable<T>[] a,
Nullable<T>[] b
)
where T : struct, new(), IEquatable<T>
VB
<ExtensionAttribute>
Public Shared Function EqualsTo(Of T As {Structure, New, IEquatable(Of T)}) (
a As Nullable(Of T)(),
b As Nullable(Of T)()
) As Boolean
F#
[<ExtensionAttribute>]
static member EqualsTo :
a : Nullable<'T>[] *
b : Nullable<'T>[] -> bool when 'T : struct, new() and IEquatable<'T>
- a
- Type: System.Nullable(T)[]
The first array to compare. - b
- Type: System.Nullable(T)[]
The second array to compare.
- T
- Type of array item.
Type: Booleantrue
if content of a equals to b, false
otherwise.
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).
ArrayExtensions Class
EqualsTo Overload
CodeJam.Collections Namespace