예제 #1
0
        private void printOutput()
        {
            //First Output Line -> print index
            Console.WriteLine(collection.Result());
            //Second Output Line -> print index
            Console.WriteLine(addRemoveCollection.IndexResult());
            //Third Output Line -> print index
            Console.WriteLine(myList.IndexResult());

            //Fourth Output Line -> print removed elements
            Console.WriteLine(addRemoveCollection.removeResult());
            //Fifth Output Line -> print removed elements
            Console.WriteLine(myList.RemoveResult());
        }