DataStructuresCSharp/C#/Datastructures/Nodes/Node.cs

9 lines
249 B
C#
Raw Normal View History

2022-03-31 21:13:13 +00:00
namespace C_.Datastructures.Nodes
2022-03-31 20:23:49 +00:00
{
internal class Node<T, NodeType>
{//Generic Node type that every other type inherits from
2022-03-31 20:23:49 +00:00
public T? Value { get; set; } = default;
public NodeType? Next { get; set; } = default;
}
}