Click or drag to resize

SpanTEquality Operator

Returns a value that indicates whether two SpanT instances refer to the same memory with the same length.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public static bool operator ==(
	Span<T> left,
	Span<T> right
)

Parameters

left  SpanT
The first span to compare.
right  SpanT
The second span to compare.

Return Value

Boolean
if the two spans start at the same location and have the same length; otherwise . Use SequenceEqual(ReadOnlySpanT) to compare the contents.
See Also