object CreateList (Type listType) { if (listType.IsArray) return EnsureArrayIndex (null, 0, listType.GetElementType()); else return Activator.CreateInstance (listType, true); }