Exemplo n.º 1
0
 public bool contains(kid k)
 {
     foreach (kid kid in this.Items)
     {
         if (kid.ToString().Equals(k.ToString()))
         {
             return(true);
         }
     }
     return(false);
 }
Exemplo n.º 2
0
        public void KidToString()
        {
            kid child = new kid("Keenen Cates/123 street st, IN. 11111");

            Assert.AreEqual("Keenen Cates/123 street st, IN. 11111", child.ToString());
        }