Example #1
0
        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());
        }
Example #2
0
        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());
        }