Virtually shifting an array
Posted
by kmukund87
on Stack Overflow
See other posts from Stack Overflow
or by kmukund87
Published on 2010-03-25T23:59:19Z
Indexed on
2010/03/26
0:03 UTC
Read the original article
Hit count: 255
Hi, I am using C#. I have an array of size 10. I want to pass it to a function, but only from the second element. In C, this is how I would implement it
myfunc( myarray + 1 )
Effectively I am virtually shifting the array / deleting the first element.
How do I implement this in C# ?
© Stack Overflow or respective owner