DataStructuresCSharp/C#/Datastructures/Generic/UndirectedNode.cs

9 lines
261 B
C#

namespace C_.Datastructures.Generic
{
internal class UndirectedNode<T, NodeType>
{//Generic Node type that every other type inherits from
public T? Value { get; set; } = default;
public NodeType? Next { get; set; } = default;
}
}