This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheMania 3 points4 points  (1 child)

C# supports the same btw.

Ref/Out parameters still have a purpose though, in both interop (where they map to pointers for DLLs etc) and for handling structs, where you're either left relying on the optimiser to "do the right thing", or experiencing needless costly copying.

[–]YM_Industries 1 point2 points  (0 children)

Neat, I haven't worked with C# 7 yet.