Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<T> Concat<T>(this T, IEnumerable<T>)

Declaration

public static IEnumerable<T> Concat<T>(
    this T head,
    IEnumerable<T> tail
)

Summary

Adds a single element to the start of an IEnumerable<T>.

Generic type parameters

T Type of enumerable to return.

Returns

IEnumerable containing the specified additional element, followed by all the input elements.