public string Helper_CreateFullName() { StringBuilder sb = new StringBuilder(); sb.Append(FName.ToTitleCase()); if (!MName.IsNullOrEmpty()) { sb.Append(" "); sb.Append(MName.ToTitleCase()); } if (!LName.IsNullOrEmpty()) { sb.Append(" "); sb.Append(LName.ToTitleCase()); } if (SonOfOrWifeOf != SonOfWifeOfDotOfENUM.Unknown) { sb.Append(" "); sb.Append(SonOfOrWifeOf.ToString()); sb.Append(" "); sb.Append(NameOfFatherOrHusband.ToTitleCase()); } //Add the Identity Card Number to make sure there are no unneccessary duplicates in the names //The Id card will be the item tjhat will bring about the uniqueness if (!IdentificationNo.IsNullOrEmpty()) { sb.Append(" "); sb.Append(string.Format("- National ID: {0}", IdentificationNo.ToPakistanCnicFormat())); } return(sb.ToString()); }