Skip to content

Instantly share code, notes, and snippets.

@IntegerMan IntegerMan/Readonly.cs
Last active Oct 9, 2019

What would you like to do?
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
You can’t perform that action at this time.