单链表
摘要:
带头结点的单链表。//Node.cs 结点类using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Linklist{ public class Node<T> { private T data; //数据域 private Node<T> next; //引用域 #region 构造函数 public Node() { this.data = default(T); this.next = null; } public Node(T data 阅读全文
posted @ 2011-04-01 16:41 DongLiYang 阅读(452) 评论(0) 推荐(1) 编辑