First I have to reference Jon Skeet's answer to a similar question
https://stackoverflow.com/a/266282/1184296
In his answer he wrote this
Type genericClass = typeof(Generic<>);
What I don't understand here is how to get Generic<> to show up.
I tried adding using
s with all the namespaces under System
but no luck. Nothing shows up in IntelliSense and Generic<>
stays underlined in red stating "The type or namespace 'Generic' could not be found...".
Does anyone knows how to solve this?
Thanks.