"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:a9*****************@nlpi064.nbdc.sbc.com...
Type asdf = Type.GetType(t.GetType().FullName);
How come something like that returns a null type when t is a generic type?
It works fine for non-generic types.
heres the test code that produces the error:
s =
System.Collections.Generic.LinkedList`1[[System.Object, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
static void Main(string[] args)
{
LinkedList<objectl = new LinkedList<object>();
l.AddLast("sadf");
l.AddLast(34);
string s = l.GetType().FullName;
Type t = Type.GetType(s);
return;
}