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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -