Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public static IEnumerable<T> Concat<T>(
    this IEnumerable<T> source,
    T element
)

Summary

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

Generic type parameters

T Type of enumerable to return.

Returns

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