When I started using C# I was unsure of how references were treated exactly (whether they were being passed by value etc.). I wrongly thought the 'ref' keyword was needed when passing objects that would be modified by the called method.
Then after reading threads like this, I realized 'ref' was only needed when you need to change the actual reference / pointer itself.
But today I have come across an issue when passing a parameter via a remoting call, where ref was actually needed to modify the content of the object. When passed without ref, the object came back unchanged. I was told to add the ref keyword but I argued for a while that it was only necessary when you change the pointer itself, not the content that is being pointed to.
I have searched the net and could only find a single page that discusses it briefly. Is this a known issue and is anyone able to point to some documentation about it? It seems to me that I will have to use ref now for any parameter that is being modified via a remoting call.