Say you have a MethodInfo relating to the method myMethod:
void myMethod(int param1, int param2) { }
and you want to create a string that represents the method's signature:
string myString = "myMethod (int, int)";
Looping through the MethodInfo parameters, I was able to achieve these results by calling the parameter types' ToString methods:
"myMethod (System.Int32, System.Int32)"
How can I improve on this and produce the results shown above?