예제 #1
0
        static void Main(string[] args)
        {
            var list = new List();

            list.Insert("ljj");
            list.Insert("pop");
            list.Insert("op");
            list.InsertIndex("hk", 1);
            list.PrintList();
            list.DeleteElement("ljj");
            list.DeleteElement("l");
            list.DeleteElementIndex(1);
            list.Insert("uy");
            list.DeleteElement("hk");
            list.PrintList();
            list.DeleteElementIndex(2);
            list.PrintList();
        }