using C_.Datastructures.Generic; namespace C_.Datastructures.Stack { internal class StackNode : UndirectedNode> {//Inherits from Node public static StackNode Create(T? value, StackNode? next) { return new StackNode { Value = value, Next = next }; } } }