
Linq Sequence contains no matching element
So sometimes you will get these strange errors or exceptions when using Linq Sequence contains no matching element For example if you use var result = myEnumerableCollection.First(x => x.Name == person.Name); This will throw InvalidOperationException with Sequence contains no matching…
