Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Last active October 9, 2019 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IntegerMan/113ba380147b15d1ade9f7544483c4d4 to your computer and use it in GitHub Desktop.
Save IntegerMan/113ba380147b15d1ade9f7544483c4d4 to your computer and use it in GitHub Desktop.
public int Foo {get; set;}
public readonly int CalculateFooPlusFortyTwo() {
Foo += 42; // Bad
return Foo;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment