9 lines
251 B
C#
9 lines
251 B
C#
namespace C_.Datastructures.Generic
|
|
{
|
|
internal class Node<T, NodeType>
|
|
{//Generic Node type that every other type inherits from
|
|
public T? Value { get; set; } = default;
|
|
public NodeType? Next { get; set; } = default;
|
|
}
|
|
}
|