public bool ToBoolean()
{
if(Value.Equals("Y", StringComparison.CurrentCultureIgnoreCase))
{
return true;
}else if(Value.Equals("N", StringComparison.CurrentCultureIgnoreCase))
{
return false;
}else{
throw new NotSupportedException("Value is not boolean.");
}
}