📜  c# private set - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:11.604000             🧑  作者: Mango

代码示例1
public int data { get; private set; } = 0;