I have certain class variables in a class that I would like to do somethin whenever they are set (check valid, pad with spaces etc). I have never used get set before was wondering if using those would be right approach but I am getting stack overflow error.
public string DELIVERY_DATE
{
get { return DELIVERY_DATE; }
set
{
DELIVERY_DATE = checkDate(value, "yyyyMMdd");
}
}