Skip to content

Instantly share code, notes, and snippets.

@dominik-hadl
Last active August 11, 2016 13:31
Show Gist options
  • Save dominik-hadl/ee983e66eaf56a4e2166ffdada583368 to your computer and use it in GitHub Desktop.
Save dominik-hadl/ee983e66eaf56a4e2166ffdada583368 to your computer and use it in GitHub Desktop.
class Quiz {
private static int pointsValue = 500;
void PrintPointsValue() {
Console.WriteLine("This quiz question is worth " + pointsValue);
}
}
Quiz q = new Quiz();
q.PrintPointsValue();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment