Пример #1
0
        public string ToString_IsCorrect_WithCulture(string format, string culture)
        {
            CultureInfo cultureInfo = new CultureInfo(culture);

            CustomerLib.Customer customer = new CustomerLib.Customer("Jeffrey Richter", 1234567, "+1 (425) 555-0100");
            return(customer.ToString(format, cultureInfo));
        }
Пример #2
0
 public string ToString_IsCorrect(string format)
 {
     CustomerLib.Customer customer = new CustomerLib.Customer("Jeffrey Richter", 1234567, "+1 (425) 555-0100");
     return(customer.ToString(format));
 }