I'm writing some codes that uses reflection, but I realized array of types behave somewhat surprisingly.
When I try to create an array the normal way, like this:
Type[] params = new Type[2];
I receive an error saying
Class name is not valid at this point
Why is it saying that? How is Type different from the other types?
Typewithstringor anything else, and you'll see the same error message.