Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
concat Class
concat Methods
Concat Method
Concat(T) Method (IEnumerable(IEnumerable(T)))
Concat(T) Method (IList(IEnumerable(T)))
Concat(T) Method (IList(IList(T)), Nullable(Boolean))
Concat(T) Method (IList(T), IList(T))
concat
Concat
T
Method (IList
IList
T
, Nullable
Boolean
)
Concatenates an
IList
T
of
IList
T
.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
IList
<T>
Concat
<T>(
this
IList
<
IList
<T>>
a
,
Nullable
<
bool
>
sameCount
=
null
)
Parameters
a
Type:
System.Collections.Generic
IList
IList
T
An
IList
T
of
IList
T
s to concatenate.
sameCount
(Optional)
Type:
System
Nullable
Boolean
Whether to optimize operations by assuming all sublists have he same lengths. a
value means that equal-length values should be checked for.
Type Parameters
T
Type of the
IEnumerable
T
s.
Return Value
Type:
IList
T
An
IList
T
, with all the elements in the elements of
a
, concatenated.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IList
IList
T
. 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)
.
Remarks
In cases where you are certain the lists will either have different or same length, set the
sameCount
accordingly.
See Also
Reference
concat Class
Concat Overload
WhetStone.Looping Namespace