I have IQueryable list of objects of type T which I want to transform into objects of type K
List tranformedList = originalList.Select(x => trans
Use Where Instead of Select (Linq).
Where returns the list without null values directly
List tranformedList = originalList.Where(x => x != null).ToList();