📜  Visual Studio 自动生成器和设置器 - C# 代码示例

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

代码示例2
private PropertyType _property;

public PropertyType PropertyName
{
    get
    {
        //logic here 
        return _property;
    }
    set
    {
        //logic here
        _property = value;
    }
 }