Enumerable.Append(IEnumerable<TSource>, TSource) Enumerable.Append(IEnumerable<TSource>, TSource) Enumerable.Append(IEnumerable<TSource>, TSource) Enumerable.Append(IEnumerable<TSource>, TSource) Method

Definition

Appends a value to the end of the sequence.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TSource> ^ Append(System::Collections::Generic::IEnumerable<TSource> ^ source, TSource element);
public static System.Collections.Generic.IEnumerable<TSource> Append<TSource> (this System.Collections.Generic.IEnumerable<TSource> source, TSource element);
static member Append : seq<'Source> * 'Source -> seq<'Source>
<Extension()>
Public Function Append(Of TSource) (source As IEnumerable(Of TSource), element As TSource) As IEnumerable(Of TSource)
Type Parameters
TSource

The type of the elements of source.

Parameters
source
IEnumerable<TSource>

A sequence of values.

element

The value to append to source.

Returns
IEnumerable<TSource>

A new sequence that ends with element.

Exceptions

Applies to