I want to use array in C# using CLI function.
CLI Source
public value struct Test
{
int nIndex;
TArrTest Arr; // TArrTest : Array struct
}
void Api::Set_Test(array<Test^>^% _Test2)
C# Source
Test[] Test3 = new Test[5];
test3[0].nIndex = 0;
...
...
Api.Set_Test(ref Test3) // Error message
Error Message: The parameter is not convert ref Test[] to ref system.Value[].
How can I call Set_Test in C#?