DataStructuresCSharp/C#/Datastructures/LinkedList/LinkedListNode.cs
2022-04-01 22:02:39 +01:00

17 lines
409 B
C#

using C_.Datastructures.Generic;
namespace C_.Datastructures.LinkedList
{
internal class LinkedListNode<T> : Node<T, LinkedListNode<T>>
{//Inherits from Node
public static LinkedListNode<T> Create(T? value, LinkedListNode<T>? next)
{
return new LinkedListNode<T>
{
Value = value,
Next = next
};
}
}
}