示例#1
0
        public static int Main()
        {
            GenericList <int> list = new GenericList <int>();

            for (int i = 0; i < 10; i++)
            {
                list.AddHead(i);
            }
            //System.Console.WriteLine();

            foreach (int j in list)
            {
                System.Console.Write(j + ", ");
            }

            return(0);
        }