using System; using System.Collections.Generic; using System.Text; namespace StgSharp.Logic { public class LinkedListNode where T : INode { internal readonly T _this; internal LinkedListNode _previous; internal LinkedListNode _next; public virtual LinkedListNode Previous { get { return _previous; } set { _previous = value; } } public LinkedListNode Next { get { return _next; } set { _next = value; } } public LinkedListNode(T t) { _this = t; } } }