TEnumerable.From<T> Method

Overloads

From<T>(array of T)

Returns a sequence that contains the specified values.

From<T>(TArray<T>)

Returns a sequence that contains the specified values.

From<T>(array of T)

Returns a sequence that contains the specified values.

Delphi
class function From<T>(const values: array of T): IReadOnlyList<T>

Type Parameters

T

The type of the elements in values .

Parameters

values
array of T

The values to return a sequence for.

Returns

IReadOnlyList<T>

A sequence that contains the specified values.

From<T>(TArray<T>)

Returns a sequence that contains the specified values.

Delphi
class function From<T>(const values: TArray<T>): IReadOnlyList<T>

Type Parameters

T

The type of the elements in values .

Parameters

values
TArray<T>

The values to return a sequence for.

Returns

IReadOnlyList<T>

A sequence that contains the specified values.