Difference between Assembly.CreateInstance and Activator.CreateInstance?
问题 What is the difference between these calls? 回答1: None. The Assembly.CreateInstance actually calls Activator.CreateInstance under the hood. Using Reflector on Assembly.CreateInstance: public object CreateInstance(string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes) { Type type = this.GetType(typeName, false, ignoreCase); if (type == null) { return null; } return Activator.CreateInstance(type, bindingAttr,