 | SpanTEquality Operator |
Returns a value that indicates whether two
SpanT instances refer to the same memory with the same length.
Namespace: SystemAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic static bool operator ==(
Span<T> left,
Span<T> right
)
Public Shared Operator = (
left As Span(Of T),
right As Span(Of T)
) As Boolean
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