Functional programming with Linq – Enumerable.SequenceEqual
Yet another useful method on the Enumerable class, the SequenceEqual method does exactly what it says on the tin and tells you whether or not two sequences are of equal length and their corresponding elements are equal according to either the default or supplied equality comparer: As you know, for reference types the default equality …
Functional programming with Linq – Enumerable.SequenceEqual Read More »