Quote Originally Posted by RyuMaster View Post
Thank you. Probably looping using pointers has some speed gain,
With today's compilers, very little, if any speed gain is achieved by using pointers in this manner.
So can I assume then, that:

C++: *array+1 is same as
C#: array[0+1]
No.
Code:
*(array + 1) is equivalent to array[1]
Note the parentheses. There is a big difference between this:
Code:
*array + 1
and this:
Code:
*(array + 1)
Regards,

Paul McKenzie