/// <summary>
/// Create a new instance of the specified object.
/// </summary>
static public object Create (this Type type)
{
return Activator.CreateInstance(type);
}
/// <summary>
/// Create a new instance of the specified object.
/// </summary>
static public object Create (this Type type, int size)
{
return Activator.CreateInstance(type, size);
}