static void Main(string[] args) { CircularArray testCirc = new CircularArray(5); testCirc.add("one"); Console.WriteLine("cap" + testCirc.getCapacity()); Console.WriteLine("size" + testCirc.getSize()); testCirc.add("two"); Console.WriteLine("cap" + testCirc.getCapacity()); Console.WriteLine("size" + testCirc.getSize()); testCirc.add("three"); Console.WriteLine(testCirc.get(1)); Console.WriteLine("cap" + testCirc.getCapacity()); Console.WriteLine("s" + testCirc.getSize()); Console.WriteLine("2 " + testCirc.get(2)); Console.WriteLine("3 " + testCirc.get(3)); Console.WriteLine("s" + testCirc.getSize()); testCirc.add("four"); testCirc.add("five"); testCirc.add("six"); testCirc.add("seven"); Console.WriteLine("1 " + testCirc.get(1)); Console.WriteLine("2 " + testCirc.get(2)); Console.WriteLine("3 " + testCirc.get(3)); testCirc.add("eight"); Console.WriteLine("ioOne " + testCirc.indexOf("one")); Console.WriteLine(testCirc.indexOf("eight")); Console.WriteLine(testCirc.get(1)); Console.ReadLine(); }