a) Use the Cast<T> operator: The Cast operator converts a non-generic object to a generic object that implements IEnumerable<T> interface. ArrayList machines = GetMachines(); var query = from machine in machines.Cast<Computer>() where machine.Type = 1 b) Declare the type of variable to specify the type of object in the collection. var query = from Computer s in machines