2022-04-02 20:22:20 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace C_.Datastructures.Generic
|
|
|
|
|
{
|
2022-04-04 20:15:12 +00:00
|
|
|
|
abstract internal class DirectedNode<T, NodeType>
|
2022-04-02 20:22:20 +00:00
|
|
|
|
{
|
|
|
|
|
public T? Value { get; set; } = default;
|
|
|
|
|
public NodeType? Left { get; set; } = default;
|
|
|
|
|
public NodeType? Right { get; set; } = default;
|
|
|
|
|
}
|
|
|
|
|
}
|