I have declared the following two arrays. One is a single array of 4 elements, The other is a multidimensional array of 5 rows and 4 colums (see diagram below).
array<String^> ^single_row = {"E1", "E2", "E3", "E4"};
array<String^,2>^ multi_row=gcnew array<String^,2>(5,4);
Is there built in function I can use to copy the first array let's say the third row of the second array, without manually copying each element?
Note: I've tried array->copy but experienced error C3262: invalid array indexing: 1 dimension(s) specified for 2-dimensional 'cli::array ^'
I've attached a diagrams to assist for visualisation purposes.