System::Buffers::ReadOnlySequence::Equals method

ReadOnlySequence::Equals method

Determines whether the current sequence references the same range as the specified sequence.

bool System::Buffers::ReadOnlySequence<T>::Equals(const ReadOnlySequence &other) const
ParameterTypeDescription
otherconst ReadOnlySequence&The sequence to compare with the current one.

ReturnValue

True if both sequences represent the same start/end positions; otherwise, false.

See Also