MoreEnumerable.StartsWith Method

Overload List

StartsWith<T>(IEnumerable<T>, IEnumerable<T>) Determines whether the beginning of the first sequence is equivalent to the second sequence, using the default equality comparer.
StartsWith<T>(IEnumerable<T>, IEnumerable<T>, IEqualityComparer<T>) Determines whether the beginning of the first sequence is equivalent to the second sequence, using the specified element equality comparer.

See Also