Hi,
I have a problem while doing the following (simplified) code:
Method; Tries to receive a list, a position where to set a new value, and the value.
If I do it like first sqare code, it seems it adds the value inside TargetArray, but when method is over, the array is erased, instead of override the parameter that i’m sending byRef.
I can see it working, because if I set directly the reference as below, everything works. So… Is there a way to send the reference of an enumerable? It would be great if I can do it like this, because i’m trying to dinamically chose wich array to load, and then there are other operations that doesn’t matter here, but to set the Array Elem directly is not a good option, will lead to a lot of repeated code
Thanks!