Is it possible using LINQ to test for a match of a sequence of list items? e.g.
var masterList = new List<string>{"fox", "jumps", "dog"};
var childList1 = new List<string>{"fox", "jumps"};
var childList2 = new List<string>{"fox", "dog"};
I'd like to write something such that looking for childList1 in masterList is true, but childList2 is false, because there's something in between.
EDIT: {"jumps", "dog"} would also match.