Type t = typeof(Dictionary<,>); //typeof获取类型声明
//t.ContainsGenericParameters获取是否包含泛型参数
Console.WriteLine("是否为开放类型:{0}", t.ContainsGenericParameters);