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