Let say I have a generic member in a class or method, so:
public class Foo { public List Bar { get; set; } public void Baz() {
Type:
type = list.AsEnumerable().SingleOrDefault().GetType();