test = new Byte[1600];
for (int i=0; i<40; i++)
for (int j=0; j<40; j++)
test->SetValue(0x0A, (j*40)+i);
gives the error: "void System::Array::SetValue(System::Object __gc*, int): cannot convert parameter 1 from 'int' into 'System::Object __gc*' "
How do you set the values of an array?
for (int i=0; i<40; i++)
for (int j=0; j<40; j++)
test->SetValue(0x0A, (j*40)+i);
gives the error: "void System::Array::SetValue(System::Object __gc*, int): cannot convert parameter 1 from 'int' into 'System::Object __gc*' "
How do you set the values of an array?