I have a few classes:
class Vehicle { } class Car : Vehicle { }
I have a list of the derived class: IList cars;
IList cars;
var vehicles = cars.OfType()