Iso3166CountryPhoneNumberDigitCount Property

Range of digits a phone number can have in this country.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public NumberRange PhoneNumberDigitCount { get; }

Property Value

NumberRange

Remarks

We keep track of this to ensure any input PhoneNumber is valid.

For example, the Netherlands is 9; Mobile phone numbers start with a '6' and have 8 digits. Municipalities codes are two/three digits long, and personal phone numbers are followed by 6/7 digits to make a total of 9. So if the user enters too few or too many digits, we can validate this.

Other nations have different rules, and sometimes numbers can range from a minimum to a maximum amount of digits.

See Also