T
The Crow
code snippet below briefly shows what i need to do :
public void Method1(params object[] args)
{
Method2(args);
}
public void Method2(params object[] args)
{
//Do something.
}
in Method1 i pass all coming parameters to Method2, but i thing it will call
Method2 such a Method2(object[] args)... to be more clear, i would access
parameters in Method2 like args[0][0], args[0][1] ..... how can i prevent
this?
public void Method1(params object[] args)
{
Method2(args);
}
public void Method2(params object[] args)
{
//Do something.
}
in Method1 i pass all coming parameters to Method2, but i thing it will call
Method2 such a Method2(object[] args)... to be more clear, i would access
parameters in Method2 like args[0][0], args[0][1] ..... how can i prevent
this?