What I would like to do in my code is something like that below:
public static class DataClass
{
public static byte[,,] Array3d = { { {0,0},{0,0}},{{0,0},{0,0}}};
}
class MyClass
{
public MyClass()
{
someMethod(DataClass.Array3d[0]);
someMethod(DataClass.Array3d[1]);
}
void someMethod(byte[,])
{
}
}
I would like to know if there is some way to do what I am trying to when calling someMethod()
. If not, what should I do?