2 Jan 2018 by Thomas Daniels
They way you're using generics, isn't supported in C#. Between , the name of a type is expected, not a Type object that isn't known at compile-time. To create something based on a Type object, you can use Activator.CreateInstance[^].