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>
|
2022-03-31 20:27:31 +00:00
|
|
|
|
{//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;
|
|
|
|
|
}
|
|
|
|
|
}
|