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

9 lines
270 B
C#
Raw Normal View History

2022-04-01 21:02:39 +00:00
namespace C_.Datastructures.Generic
2022-03-31 20:23:49 +00:00
{
abstract internal class UndirectedNode<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;
}
}