i need to write structure which has a field of poiner to array or something like this:
init:
will i be able to access this array like this?
is that correct?
Code:
struct MyStruct
{
....
ref int[] someArr;
....
}
Code:
new InsideStation
{
....
ExistingArrayName; // passed to a structure object
....
}
Code:
MyClass.getStructField().someArr[someIndex];
Comment