1
private static object CreateObject(Type itemType)
{
try
{
if (itemType.FullName == "System.Uri")
{
????
}
return Activator.CreateInstance(itemType);
}
catch (Exception)
{
return itemType.GetConstructor(new Type[] { }).Invoke(new object[] { });
}
}