Esempio n. 1
0
        public static void Main(string[] args)
        {
            MyEnumerable myEnumerable = new MyEnumerable();

                foreach (Person person in myEnumerable)
                {
                Console.WriteLine (person.personId);
                Console.WriteLine (person.personName);
                Console.WriteLine (person.personLocation);
                }
        }
Esempio n. 2
0
      public static void Main(string[] args)
      {
          MyEnumerable myEnumerable = new MyEnumerable();

          foreach (Person person in myEnumerable)
          {
              Console.WriteLine(person.personId);
              Console.WriteLine(person.personName);
              Console.WriteLine(person.personLocation);
          }
      }