なんとかするから、なんとかなる

エンジニア関係のことを書きます

C# でクラスのメンバ変数のGetterの書き方

C#のGetterの書き方

public string Hoge 
{
    get { return str; }
    set { this.Hoge = value; }
}