آیا راهی غیر از اینکار وجود داره؟ حس می کنم درست نیست
private int id { get; set; }
public int code { get; set; }
public bool blacklist { get; set; }
public persons(int id, int code,bool blacklis)
{
this.id = id;
this.code = code;
this.blacklist = blacklist;
}
public persons(int id)
{
this.id = id;
}