/// <summary> /// Convert the gender from the enum to the string used by the app. /// </summary> /// <param name="gender">Gender to convert to a string.</param> /// <returns>String representation of the gender.</returns> private string ConvertGenderToString(NfcGender gender) { return (gender == NfcGender.Male) ? GenderMaleString : GenderFemaleString; }
/// <summary> /// Convert the gender from the enum to the string used by the app. /// </summary> /// <param name="gender">Gender to convert to a string.</param> /// <returns>String representation of the gender.</returns> private string ConvertGenderToString(NfcGender gender) { return((gender == NfcGender.Male) ? GenderMaleString : GenderFemaleString); }