MethodInfo myMethod = this.GetType().GetMethod("DoSomething");
object[] args = new object[] { 5, 0 };
int result = (int)myMethod.Invoke(this, args);
int z = (int)args[1];
MethodInfo myMethod = this.GetType().GetMethod("DoSomething");
object[] args = new object[] { 5, 0 };
int result = (int)myMethod.Invoke(this, args);
int z = (int)args[1];