C# Expert · Lesson 8

ref returns, in, and ref struct

Pass and return by reference to avoid copies of large structs safely.

Lessons · C# Expert · Lesson 8 of 10

ref returns, in, and ref struct

Pass and return by reference to avoid copies of large structs safely.

Illustration for C#
Pass and return by reference to avoid copies of large structs safely.