EnumerableExtensions.

Concat<T>(IEnumerable<T>, T[]) Method

Summary

Concatenates two sequences.

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<T> The first sequence to concatenate.
second T[] The sequence to concatenate to the first sequence.

Return Value

Type Description
IEnumerable<T> An IEnumerable<T> that contains the concatenated elements of the two input sequences.