Click or drag to resize

ExtensionsAppendTSource Method

Concatenates an item into a sequences.

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static IEnumerable<TSource> Append<TSource>(
	this IEnumerable<TSource> first,
	TSource second
)

Parameters

first
Type: System.Collections.GenericIEnumerableTSource
The first sequence to concatenate.
second
Type: TSource
The item to concat into the sequence.

Type Parameters

TSource
The type of the elements of the input sequences.

Return Value

Type: IEnumerableTSource
An IEnumerableT that contains the concatenated elements of the two input sequences.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also