c# get getter set setter method

86

c# get getter set setter method -

public class CustomerInfo
{
    private string _name;
    public string Name
    {
        get
        {
            return _name;
        }
        set
        {
            _name = value ;
        }
    }
}

Comments

Submit
0 Comments