我是C#的新手.
private string m; public string M { get { return m; } }
这样的C#中的getter/setter就像Java一样吗?
c# properties
c# ×1
properties ×1