Thanks Alberto! I was close on that!
So, what I was hoping to do is create a new type of that object and
use it
using System;
using System.Collections.Generic;
public class MyClass
{
public static void Main()
{
Check<MyItem>();
}
public static void Check<T>() where T:new()
{
Type n = typeof(T);
T obj = new n() ;
obj.Name="MyName";
Console.WriteLine(obj.Name);
}
}
class MyItem{
private string _name;
public string Name
{ get { return _name;}
set {_name = value; }
}
public MyItem(){ Console.WriteLine("Constr");}
}