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

11 lines
307 B
C#
Raw Normal View History

using System.Collections.Generic;
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;
2022-04-13 20:12:18 +00:00
internal NodeType? Next { get; set; } = default;
2022-03-31 20:23:49 +00:00
}
}