Ejemplo n.º 1
0
 public Node(T value, DoublyCircularLinkedList <T> list = null, Node next = null, Node prev = null)
 {
     Value = value;
     Next  = next;
     Prev  = prev;
     List  = list;
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            DoublyCircularLinkedList <int> list = new DoublyCircularLinkedList <int>();

            for (int i = 0; i < 10; i++)
            {
                list.AddLast(i + 1);
            }

            foreach (var item in list)
            {
            }
        }