public Category(string id,string name) { this.id = id; this.name = name; }
private string id; //类别
id public string Id { get { return id; } set { id = value; } }
private string name; //类别名称
public string Name { get { return name; } set { name = value; } }
构造函数里的 this.id=id ;this.name=name; =后面的id,name 能否写成大写 ,大小写有什么实质区别