【发布时间】:2014-01-07 02:54:42
【问题描述】:
当我们将 Fields 作为 out/ref 参数传递时,属性和 Fields 的不同之处。两者的区别是内存分配吗?
【问题讨论】:
-
快速谷歌搜索显示...可能重复:C# field vs. property 和 Difference between Property and Field in C# 3.0+
-
@Dhiren 我已经更改了你的标题。请看一下以确保我没有改变您问题的含义!
标签: c# oop properties