I have a List<> of abstract objects that contains different types of objects. I am trying to grab all the items of a certain type and set th
List<>
This will work for all itemTypeAs (and more derived types).
itemTypeA
var typeAList = myAbstractItems.Select(i => i as itemTypeA).Where(i => i != null).ToList();
EDIT: edited as per Rawling's comment.