If you're like me and would rather just see the code...
Code:
void paramsExample(object arg1, object arg2, params object[] argsRest)
{
foreach (object arg in argsRest)
{ /* .... */ }
}
{
foreach (object arg in argsRest)
{ /* .... */ }
}
What do you get when you throw the ambitious procrastinator with an inspiring lackadaisic? A bit of code that resides out of the ordinary.