DataStructuresCSharp/C#/Datastructures/Nodes/Node.cs

15 lines
366 B
C#
Raw Normal View History

2022-03-31 20:23:49 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C_.Datastructures.Nodes
{
internal class Node<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;
}
}