I want to filter objects in a List using their type, using OfType<>. My problem is, that some objects are of a generic interf
List
from s in series where s.GetType().GetGenericTypeDefinition()==typeof(ITraceSeries<>) select s;