Type t = Type.GetType("BLL.MyLayers.TestLayer,BLL");
t is always null for a generic class.
When I try to get the type for a normal class t is not null.
Why is that or do I something wrong?
Type t = Type.GetType("BLL.MyLayers.TestLayer,BLL");
t is always null for a generic class.
When I try to get the type for a normal class t is not null.
Why is that or do I something wrong?
Generic types are compiled using a little trick:
Note that the apostrophe isn't a quote, but the key to the left of the 1 key (on most keyboards).
You may try: