G
Guest
Heres a dumb one. I know you can't actually pass reference types by value in
C#, but I want to pass an object into a method and allow that method to
manipulate a copy of that object, such that the original object is unchanged.
There's got to be an easy way to do this. Anyone have a suggestion?
C#, but I want to pass an object into a method and allow that method to
manipulate a copy of that object, such that the original object is unchanged.
There's got to be an easy way to do this. Anyone have a suggestion?