Use this override of the CreateInstance method:
public static object CreateInstance(
Type type,
params object[] args
)
creates an instance of the specified type using the constructor that best matches the specified parameters.
See: http://msdn.microsoft.com/en-us/library/wcxyzt4d.aspx
很喜欢这样的做法!值得记牢!