Method SequenceEquals
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
SequenceEquals(IEnumerable, IEnumerable)
Compares two sequences of end points.
public static bool SequenceEquals(IEnumerable<EndPoint> a, IEnumerable<EndPoint> b)Parameters
The first sequence of end points.
The second sequence of end points.
Returns
True if both sequences contain the same end points in the same order, or if both sequences are null.