I'm trying to create an array of pointer references to a double array. For example;
double[] mylist = new double[100];
fixed (double* p = mylist) { }
Now as the MSDN documentation states, that is equivalent to p = &mylist[0] This is only taking the first value, is it possible to create an array of pointers to variables in another array? Or is the practice to use only one pointer?
Thanks for any help, in advance
p = &mylist[0]- This is pointing to the first element of the array. When you have the pointer to the first element, then there shouldn't be any problem to get to the rest of the array elements. What are you trying to achieve here, are you doing P/Invoke stuff?