Maybe i have a better solution



public static int test(int thisval)
{
Thread.Sleep(1000 * thisval);
return thisval;
}