I have factory method that returns Type
of a POCO given a Key.
public static Type GetType(string key)
{
var name = string.format("MyPOCOClass{0},MyAssembly",key);
return Type.GetType(name);
}
So lets say value of the Key is One
and assume that the class MyPOCOClassOne
exists in MyAssembly
in above case i wanted type of IEnumerable<MyPOCOClassOne>
How do i do that?