[This is preliminary documentation and is subject to change.]
Prefixes a sequence with another sequence.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static IEnumerable<T> Prefix<T>( this IEnumerable<T> second, IEnumerable<T> first )
<ExtensionAttribute> _ Public Shared Function Prefix(Of T) ( _ second As IEnumerable(Of T), _ first As IEnumerable(Of T) _ ) As IEnumerable(Of T)
[ExtensionAttribute] public: generic<typename T> static IEnumerable<T>^ Prefix( IEnumerable<T>^ second, IEnumerable<T>^ first )
Generic Template Parameters
- T
- The type of the elements of the input sequences.
Parameters
- second (IEnumerable<(Of <(<'T>)>)>)
- The sequence to prefix.
- first (IEnumerable<(Of <(<'T>)>)>)
- The sequence being prefixed to the second sequence.
Return Value