/// <summary> /// Checks if the phonenumber object is mobile number /// </summary> /// <param name="phoneNumber">Phonenumber</param> /// <returns>True if phonenumber is a mobile number</returns> public static bool IsMobileNumber(this PhoneNumbers.PhoneNumber phoneNumber) { return(phoneNumber.GetNumberType() == PhoneNumberType.MOBILE); }