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