 | ScalarEnumerableCombineT Method (T, IEnumerableT) |
[This is preliminary documentation and is subject to change.]
Creates a new enumerable that prepends a value to an existing enumerable sequence
Namespace:
Llvm.NET
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic static IEnumerable<T> Combine<T>(
T scalar,
IEnumerable<T> values
)
Parameters
- scalar
- Type: T
Value to prepend to the sequence - values
- Type: System.Collections.GenericIEnumerableT
Existing enumerable
Type Parameters
- T
- Type of values to enumerate
Return Value
Type:
IEnumerableTNew enumerable sequence starting with
scalar
See Also