M_CSharpx_EnumerableExtensions_Tail__1 - adutton/commandline GitHub Wiki
Return everything except first element and throws exception if empty.
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static IEnumerable<T> Tail<T>(
this IEnumerable<T> source
)VB
<ExtensionAttribute>
Public Shared Function Tail(Of T) (
source As IEnumerable(Of T)
) As IEnumerable(Of T)C++
public:
[ExtensionAttribute]
generic<typename T>
static IEnumerable<T>^ Tail(
IEnumerable<T>^ source
)F#
[<ExtensionAttribute>]
static member Tail :
source : IEnumerable<'T> -> IEnumerable<'T>
- source
- Type: System.Collections.Generic.IEnumerable(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).