Summary
Concatenates two sequences.
- Namespace
- StrideToolkit
.Collections - Containing Type
- EnumerableExtensions
Syntax
public static IEnumerable<T> Concat<T>(this IEnumerable<T> first, params T[] second)
Type Parameters
Name | Description |
---|---|
T | The type of the elements of the input sequences. |
Parameters
Name | Type | Description |
---|---|---|
first | IEnumerable |
The first sequence to concatenate. |
second | T[] | The sequence to concatenate to the first sequence. |
Return Value
Type | Description |
---|---|
IEnumerable |
An IEnumerable<T> that contains the concatenated elements of the two input sequences. |