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<>
Use the OfType extension method:
var typeAList = myAbstractItems.OfType().ToList();
From the documentation...
The OfType(IEnumerable) method returns only those elements in source that can be cast to type TResult.