Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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