C# Tips and tricks

less than 1 minute read

Modifiers: in, ref, out

  • ref is used to state that the parameter passed may be modified by the method.
  • in is used to state that the parameter passed cannot be modified by the method.
  • out is used to state that the parameter passed must be modified by the method.

Tags:

Categories:

Updated: