Table of Contents

Method SequenceEquals

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

SequenceEquals(IEnumerable<EndPoint>, IEnumerable<EndPoint>)

Compares two sequences of end points.

public static bool SequenceEquals(IEnumerable<EndPoint> a, IEnumerable<EndPoint> b)

Parameters

a IEnumerable<EndPoint>

The first sequence of end points.

b IEnumerable<EndPoint>

The second sequence of end points.

Returns

bool

True if both sequences contain the same end points in the same order, or if both sequences are null.