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

11 lines
305 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;
public NodeType? Next { get; set; } = default;
}
}