CastArrayTFrom, TTo   Conversion (ArraySegmentTFrom to CastArrayTFrom, TTo)

Performs an implicit conversion from ArraySegmentT to CastArrayTFrom, TTo.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static implicit operator CastArray<TFrom, TTo> (
	ArraySegment<TFrom> arraySegment
)

Parameters

arraySegment  ArraySegmentTFrom
The ArraySegmentT to be converted to a CastArrayTFrom, TTo.

Return Value

CastArrayTFrom, TTo
A CastArrayTFrom, TTo instance that represents the original ArraySegmentT cast to an array of TTo.

See Also