Creates a finite sequence containing the given element a number of times.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public static ISequence<T> Fill<T>(
T elem,
int count
)
public static ISequence<T> Fill<T>(
T elem,
int count
)
Public Shared Function Fill(Of T) (
elem As T,
count As Integer
) As ISequence(Of T)
Public Shared Function Fill(Of T) (
elem As T,
count As Integer
) As ISequence(Of T)
public:
generic<typename T>
static ISequence<T>^ Fill(
T elem,
int count
)
public:
generic<typename T>
static ISequence<T>^ Fill(
T elem,
int count
)
static member Fill :
elem : 'T *
count : int -> ISequence<'T>
static member Fill :
elem : 'T *
count : int -> ISequence<'T>
Parameters
- elem
- Type: T
The element to be repeated.
- count
- Type: System Int32
The number of times to repeat elem.
Type Parameters - T
- The type of elements in the sequence.
Return Value
Type:
ISequence T A sequence containg
count number of
elem.
See Also