Example #1
0
        public void AddCatHouse(ref CatHouse house)
        {
            System.Threading.Thread.Sleep(999);

            CatHouse[] temp = new CatHouse[++CatHouseCount];
            if (Houses != null)
            {
                Houses.CopyTo(temp, 0);
            }
            temp[temp.Length - 1] = house;
            Houses = temp;
        }