I have a class that encapsulates an array like this :
public class Data
{
public double[] buffer = new double[10];
}
Then I have an array of Data objects:
Data[] arrayOfData = new Data[10];
What is the most efficient way to get a jagged array double[][] from all the buffer in all arrayOfData objects ?