I created a class dynamically (found it here) but I don't understand why I cannot use it to create a list?
var myType = CompileResultType();
var myObject = Activator.CreateInstance(myType);
var myList = new List<myObject>();
// Error: The type or namespace name 'myObject'
// could not be found (are you missing a using directive
// or an assembly reference?)
How should I do it?