ReadOnlySpanPairCreateTFirst, TSecond Method

Creates a new ReadOnlySpanPairTFirst, TSecond instance.

Definition

Namespace: Ookii.Common
Assembly: Ookii.Common (in Ookii.Common.dll) Version: 1.0.0+7c2900b8a16cd8ae46bdd79d8f105034712c5fa3
C#
public static ReadOnlySpanPair<TFirst, TSecond> Create<TFirst, TSecond>(
	ReadOnlySpan<TFirst> first,
	ReadOnlySpan<TSecond> second
)

Parameters

first  ReadOnlySpanTFirst
The first value.
second  ReadOnlySpanTSecond
The second value.

Type Parameters

TFirst
The type of the items in the first value of the ReadOnlySpanPairTFirst, TSecond.
TSecond
The type of the items in the second value of the ReadOnlySpanPairTFirst, TSecond.

Return Value

ReadOnlySpanPairTFirst, TSecond
A ReadOnlySpanPairTFirst, TSecond containing the value.

See Also