CastArray2DTFrom, TTo   Conversion (CastArray2DTFrom, TTo to SpanTTo)

Performs an implicit conversion from CastArray2DTFrom, TTo to SpanT.

Definition

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

Parameters

array  CastArray2DTFrom, TTo
The CastArray2DTFrom, TTo to be converted to a SpanT of element type TTo.

Return Value

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

See Also