Ejemplo n.º 1
0
 /// <summary>
 ///  Constructor to that takes in the data to be stored
 /// </summary>
 /// <param name="data"></param>
 public DoublyNode(T data)
 {
     Data     = data;
     Next     = null;
     Previous = null;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public DoublyNode()
 {
     Data     = default;
     Next     = null;
     Previous = null;
 }