DataStructuresCSharp/C#/Datastructures/LinkedList/LinkedListNode.cs

17 lines
419 B
C#
Raw Normal View History

2022-04-01 21:02:39 +00:00
using C_.Datastructures.Generic;
namespace C_.Datastructures.LinkedList
2022-03-04 16:58:31 +00:00
{
internal class LinkedListNode<T> : UndirectedNode<T, LinkedListNode<T>>
{//Inherits from Node
2022-03-04 16:58:31 +00:00
public static LinkedListNode<T> Create(T? value, LinkedListNode<T>? next)
{
return new LinkedListNode<T>
{
Value = value,
Next = next
};
}
}
}