NDepend.API Documentation
Append<T>(IEnumerable<T>,T,T) Method
NDepend.Helpers Namespace > ExtensionMethodsEnumerable Class > Append Method : Append<T>(IEnumerable<T>,T,T) Method
The element type.
A sequence of elements.
The element to append first.
The element to append after element1.
Append element1 and element1 at the end of seq.
Syntax
[IteratorStateMachine(NDepend.Helpers.ExtensionMethodsEnumerable/d__10`1)] 
[Extension()] 
public static IEnumerable<T> Append<T>( 
   IEnumerable<T> seq, 
   T element1, 
   T element2 
)

Parameters

seq
A sequence of elements.
element1
The element to append first.
element2
The element to append after element1.

Type Parameters

T
The element type.
Remarks
This extension method has a constant time complexity.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsEnumerable Class
ExtensionMethodsEnumerable Members
Overload List