public Sofinummer(string newvalue) { value = null; if (string.IsNullOrEmpty(newvalue)) return; if (!IsValidSofinummer(newvalue)) throw new FormatException("value is not a valid dutch social security number"); value = newvalue; }