CastArrayTFrom, TTo   Conversion (CastArrayTFrom, TTo to SpanTTo)

Performs an implicit conversion from CastArrayTFrom, TTo to a SpanT of element type TTo.

Definition

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

Parameters

castArray  CastArrayTFrom, TTo
The CastArrayTFrom, TTo to be converted to a SpanT.

Return Value

SpanTTo
A SpanT of element type TTo that represents the specified CastArrayTFrom, TTo.

See Also