list2.Where(displayClass.Method1)
query will be executed. It returns { "Bar", "Baz" }
because displayClass.startLetter
at the time of execution is "B"
. Next, the source.Where(displayClass.Method2)
query will be executed. It also returns { "Bar", "Baz" }
. The number of elements in the result is two.