Consider this method signature:
public static void WriteLine(string input, params object[] myObjects) { // Do stuff. }
How can I determ
Check the ParameterInfo, if ParamArrayAttribute has been applied to it:
static bool IsParams(ParameterInfo param) { return param.GetCustomAttributes(typeof (ParamArrayAttribute), false).Length > 0; }