Hi All!
If a method is given an array member as a parameter, can the method know the index of the passed parameter?
e.g.
SomeMethodName SomeArray(2)
Inside SomeMethodName can I know it’s 2?
thanks!
Hi All!
If a method is given an array member as a parameter, can the method know the index of the passed parameter?
e.g.
SomeMethodName SomeArray(2)
Inside SomeMethodName can I know it’s 2?
thanks!
no. Unless you pass an extra index parameter
Thanks @Christian Schmitz !