What would be the best way of getting the type of items a generic list contains? It\'s easy enough to grab the first item in the collection and call .GetType(), but I can\'
public Type GetType(IEnumerable resultList) { return resultList.GetType().GetElementType(); }