StringSegment   Conversion (StringSegment to ReadOnlySpanChar)

Performs an implicit conversion from StringSegment to ReadOnlySpan<char>.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public static implicit operator ReadOnlySpan<char> (
	StringSegment stringSegment
)

Parameters

stringSegment  StringSegment
The StringSegment to be converted to a ReadOnlySpan<char>.

Return Value

ReadOnlySpanChar
A ReadOnlySpan<char> instance that represents the specified StringSegment.

See Also