G
Guest
Hi,
I hope the following makes it clearer what I am trying to do.
lets say I have 3 methods
private int method1()
{
}
private int method2()
{
}
private int method3()
{
}
How can I code the following
setup the array
method [] ArrayMethod = { method1,method2,method3 };
and call by
x=method[2];
Many thanks.
I hope the following makes it clearer what I am trying to do.
lets say I have 3 methods
private int method1()
{
}
private int method2()
{
}
private int method3()
{
}
How can I code the following
setup the array
method [] ArrayMethod = { method1,method2,method3 };
and call by
x=method[2];
Many thanks.