Tests whether this list ends with the given sequence.
Namespace: FlinqAssembly: Flinq (in Flinq.dll) Version: 1.0.2.0 (1.0.2.0)
Syntax
C# |
---|
public static bool EndsWith<A>( this IEnumerable<A> source, IEnumerable<A> that ) |
Parameters
- source
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'A>)>)>
The input sequence.
- that
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'A>)>)>
The sequence to test.
Type Parameters
- A
- The type of the elements in the input sequence.
Return Value
Type: Booleantrue if this collection has that as a suffix, false otherwise.