public string AddrCityStateZip() { var sb = new StringBuilder(); sb.AppendLine(AddressLineOne); if (AddressLineTwo.HasValue()) { sb.AppendLine(AddressLineTwo); } sb.AppendLine(Util.FormatCSZ(CityName, StateCode.Value, ZipCode)); return(sb.ToString()); }
public string AddrCityStateZipLine() { var sb = new StringBuilder(); sb.Append(AddressLineOne); if (AddressLineTwo.HasValue()) { sb.Append(", " + AddressLineTwo); } if (sb.Length > 0) { sb.Append(", " + Util.FormatCSZ(CityName, StateCode.Value, ZipCode)); } return(sb.ToString()); }