Node Implementation program in C#
using System;
using System.Collections.Generic;
using System.Text;
namespace LinkedListTutorial
{
public class Node
{
private object data;
private Node _next;
public Node(object data, Node next)
{
this.data = data;
this._next = next;
}
public object Data
{
get { return this.data; }
set { this.data = value; }
}
public Node Next
{
get { return this._next; }
set { this._next = value; }
}
}
}
EmoticonEmoticon