Skip to content

Instantly share code, notes, and snippets.

Avatar

Mark Seemann ploeh

View GitHub Profile
View KeepImmutableSanity.cs
public class ImmutableXYZ {
public ImmutableXYZ() : this("", 0, -1) {
}
private ImmutableXYZ(string abc, int def, int haha)
{
this.abc = abc;
this.def = def;
this.haha = haha;
}
You can’t perform that action at this time.