-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_ArrayExtensions_EqualsTo_7
Andrew Koryavchenko edited this page Jun 17, 2018
·
9 revisions
Returns true, if length and content of a equals b. A parameter specifies the culture, case, and sort rules used in the comparison.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static bool EqualsTo(
this string[] a,
string[] b,
StringComparison comparison
)
VB
<ExtensionAttribute>
Public Shared Function EqualsTo (
a As String(),
b As String(),
comparison As StringComparison
) As Boolean
F#
[<ExtensionAttribute>]
static member EqualsTo :
a : string[] *
b : string[] *
comparison : StringComparison -> bool
- a
- Type: System.String[]
The first array to compare. - b
- Type: System.String[]
The second array to compare. - comparison
- Type: System.StringComparison
One of the enumeration values that specifies the rules for the comparison.
Type: Boolean
true, if length and content of a equals b.
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