using C_.Datastructures.Generic; namespace C_.Datastructures.DoublyLinkedList { internal class DoublyLinkedListNode : UndirectedNode> {//Inherits from Node internal DoublyLinkedListNode? Prev { get; set; } = default; public static DoublyLinkedListNode Create(T? value, DoublyLinkedListNode? next, DoublyLinkedListNode? prev) { return new DoublyLinkedListNode { Value = value, Next = next, Prev = prev }; } } }