In the C ++ part, the method should accept an uint8 platform array (equivalent to the C # byte).
public ref class Class1 sealed { public: Class1();
In the C # part, pass an array of bytes:
protected override void OnNavigatedTo(NavigationEventArgs e) { Byte[] b = new Byte[2]; b[0] = 1; var c = new Class1(); c.TestArray(b); c.TestOutArray(b); }
source share