-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_Sequence_Create__1_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Creates a sequence from start value and next element factory.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IEnumerable<T> Create<T>(
T start,
Func<T, T> next
)
VB
Public Shared Function Create(Of T) (
start As T,
next As Func(Of T, T)
) As IEnumerable(Of T)
F#
static member Create :
start : 'T *
next : Func<'T, 'T> -> IEnumerable<'T>
- start
- Type: T
Start value. - next
- Type: System.Func(T, T)
Next element factory.
- T
- The type of element.
Type: IEnumerable(T)
Generated sequence.