/// <summary> /// <param name="d"> Cat/Dog Number </param> /// <param name="c"> Type - Cat or Dog </param> /// </summary> public void enqueue(object d, CatDogType c) { CatDog cd = new CatDog((int)d, c); queue.Insert(cd); }
/// <summary> /// Constructor for initializing CatDog with its type and number /// </summary> public CatDog(int n, CatDogType t) { num = n; type = t; }