/// <summary> /// Compare two path lists /// </summary> private bool PathListEqual(IEnumerable <PathEntry> original, ObservableCollectionEx <AnnotatedPathEntry> edited) { return(original.Count() == edited.Count() && original.Zip(edited, (a, b) => a.SymbolicPath == b.SymbolicPath).All(_ => _)); }