Skip to content

Instantly share code, notes, and snippets.

@ufcpp
Created February 11, 2015 06:30
Show Gist options
  • Save ufcpp/17ff86386b710be81ba2 to your computer and use it in GitHub Desktop.
Save ufcpp/17ff86386b710be81ba2 to your computer and use it in GitHub Desktop.
レコードに対して、1メンバーだけ既定動作から実装を変更
class Person(int Id, string Name)
{
public string Name { get; set; } // Name だけ mutable
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment