Create array of pointers from an array of double in C# -
i'm trying create array of pointer references double array. example;
double[] mylist = new double[100]; fixed (double* p = mylist) { }
now msdn documentation states, equivalent p = &mylist[0] taking first value, possible create array of pointers variables in array? or practice use 1 pointer?
thanks help, in advance
array elements located in contiguous memory, it's suffcient have pointer first element , pointer arithmetic others.
Comments
Post a Comment