Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created December 30, 2017 09:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Ibro/8df6a0355b368ba20a9517c0006827eb to your computer and use it in GitHub Desktop.
public static void PrintPoints()
{
int points = 15;
ref int refToPoints = ref points;
refToPoints = 125;
Console.WriteLine($"Points: {points}");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment