DataStructuresCSharp/C#/Datastructures/Generic/Node.cs
2022-04-01 22:02:39 +01:00

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;
}
}