Linq find all with certain type June 10, 2023 by Tarik Use OfType<T> like so: foreach (var bar in MyList.OfType<Foo>()) { ... }