C# class property is set by
class human { public int age; public string sex; public human(int a, string s) {age=a;sex=s;} public string isex { get { return sex; } set { sex = value; } } }
human chris = new human(23,"female"); chris.isex; //female chris.isex = "male"; //chris's sex is now male