M_CSharpx_EnumerableExtensions_Concat__1 - adutton/commandline GitHub Wiki
Returns a sequence consisting of the head elements and the given tail element.
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static IEnumerable<T> Concat<T>(
this IEnumerable<T> head,
T tail
)VB
<ExtensionAttribute>
Public Shared Function Concat(Of T) (
head As IEnumerable(Of T),
tail As T
) As IEnumerable(Of T)C++
public:
[ExtensionAttribute]
generic<typename T>
static IEnumerable<T>^ Concat(
IEnumerable<T>^ head,
T tail
)F#
[<ExtensionAttribute>]
static member Concat :
head : IEnumerable<'T> *
tail : 'T -> IEnumerable<'T>
- head
- Type: System.Collections.Generic.IEnumerable(T)
- tail
- Type: T
- T
Type: IEnumerable(T)
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(T). 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).