2014-01-15から1日間の記事一覧
特に引っかかるような所じゃなさそうなのにつまったのでメモ。 概要 C#ではgetterやsetterを書く際に以下のように書ける。 public class Sample1 { private string Hoge { get { return this.Hoge; } set { this.Hoge = value; } } public Sample1(string ho…
特に引っかかるような所じゃなさそうなのにつまったのでメモ。 概要 C#ではgetterやsetterを書く際に以下のように書ける。 public class Sample1 { private string Hoge { get { return this.Hoge; } set { this.Hoge = value; } } public Sample1(string ho…