blah blah blah is here! blah blah » Close

0
votes
1 answers

C# Pass by Reference Confusion

So I am trying to update a list but outside of the scope the for loop the list looses it's value. I thought about it and said ah yes that is because the object is sent by value and not reference so I made a few changes to pass it by referen ...

0
votes
2 answers

How to copy fields by value?

I have fields from 'ClassA' that I would like to copy to 'ClassB' without being 'linked' to 'ClassA' afterwards. (Pass by value is what I think I mean :P) I can do this fine with arrays after Vulpes showed me how I can use the Copy funct ...

Feedback