public static void Main() { var number = Console.ReadLine().Split(' '); var site = Console.ReadLine().Split(' '); var phone = new Smartphone(number, site); Console.WriteLine(phone.ToString()); }
public static void Main() { var numbers = Console.ReadLine().Split(new[] { ' ' }); var urls = Console.ReadLine().Split(new[] { ' ' }); var phone = new Smartphone(numbers, urls); Console.Write(phone.ToString()); }