示例#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();
        }