public List<int> MyObjectList
{
set
{
if(value.Count>6)
Throw new systemExeption("error")
else
this.numberList=value;
}

}