15 lines
385 B
C#
15 lines
385 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace C_.Datastructures.Generic
|
|
{
|
|
abstract internal class DirectedNode<T, NodeType>
|
|
{
|
|
public T? Value { get; set; } = default;
|
|
public NodeType? Left { get; set; } = default;
|
|
public NodeType? Right { get; set; } = default;
|
|
}
|
|
} |