Lesson 9. Linked List
http://csharpcomputing.com/Tutorials/Lesson9.htmDoubly-Linked List Implementation
http://www.codeproject.com/csharp/doubly-linkedlist.asp
http://csharpcomputing.com/Tutorials/Lesson9.htmDoubly-Linked List Implementation
http://www.codeproject.com/csharp/doubly-linkedlist.asp
public class Node
{
string strName;
Node Next;
public Node()
{
}
void Init(int n)
{
Node head=new Node ();
for (int i = 1; i <=n; i++)
{
head.strName =i.ToString ();
head.Next =new Node ();
head=head.Next ;
}
}
void Delete(Node node)
{
Node temp=null;
temp = node.Next ;
node.Next = temp.Next;
}
}
LinkedList ll=new LinkedList();
ll.add(