DataStructuresCSharp/Datastructures/Generic/UndirectedNode.cs

11 lines
307 B
C#

using System.Collections.Generic;
namespace C_.Datastructures.Generic
{
abstract internal class UndirectedNode<T, NodeType>
{//Generic Node type that every other type inherits from
public T? Value { get; set; } = default;
internal NodeType? Next { get; set; } = default;
}
}