C# 7 Series, Part 8: “in” Parameters

C# 7 Series Part 1: Value TuplesPart 2: Async MainPart 3: Default LiteralsPart 4: DiscardsPart 5: Private ProtectedPart 6: Read-only structsPart 7: Ref ReturnsPart 8: (This post) “in” Parameters Background By default, method arguments are passed by value. That is, arguments are copied and passed into the method. Therefore, modification to the argument inside the…

0