public void Foo(Image image) { // This change won't be seen by the caller: it's changing the value // of the parameter. image = Image.FromStream(...); } public void Foo(ref Image image) { // This change will be seen by the caller: it's changing the v...

Markdown supported · ⌘↵ to post
No responses yet.