示例#1
0
        static void Main(string[] args)
        {
            MedicalCard m1 = new MedicalCard {
                Heart = "fine", Kidneys = "fine", Liver = "fine"
            };

            foreach (string i in m1)
            {
                Console.WriteLine(i);
            }
            Console.ReadKey();
        }
示例#2
0
 public Enumerator(MedicalCard obj)
 {
     my_card = obj;
 }