Пример #1
0
        static void Main(string[] args)
        {
            NumbersAndStrings numbersAndStrings = new NumbersAndStrings();
            var numbersandstrings = numbersAndStrings.GetNumbersAndStrings();

            for (int i = 0; i < numbersandstrings.Count; i++)
            {
                Console.WriteLine(numbersandstrings[i].ToString());
            }
            Console.ReadLine();
        }
Пример #2
0
        static void Main(string[] args)
        {
            NumbersAndStrings numbersAndStrings = new NumbersAndStrings();
            var numbersandstrings = numbersAndStrings.GetNumbersAndStrings();

            for(int i=0; i<numbersandstrings.Count;i++)
            {
                Console.WriteLine(numbersandstrings[i].ToString());
            }
            Console.ReadLine();
        }