示例#1
0
        static void Main(string[] args)
        {
            LinkedList <int> linkedList = new LinkedList <int>();

            linkedList.AddSorted(29);
            linkedList.AddSorted(19);
            linkedList.AddSorted(9);
            linkedList.AddSorted(1);
            if (linkedList.Contains(90))
            {
                Console.WriteLine("Found!");
            }
        }