get names of parameters

  • Thread starter Thread starter psawant
  • Start date Start date
P

psawant

Hi All,

int a;
string b;
float c;

Test(a,b,c);

How do i get the the Test function to print a b c

public static Test(params object[] inputParams)
{

foreach (object inputParam in inputParams)
{
print(something);
}

}
 
Back
Top