用c#实现单链表(程序代码已经验证,完全正确)
摘要:
1.程序的大致结构如下图:2.下面依次列出各个类的代码①ILISTDs.cs 这是一个接口类,列出单链表的方法using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 单链表{ public interface IListDs { int GetLength();//求长度 void Clear();//清空操作 bool IsEmpty();//判断线性表是否为空 ... 阅读全文
posted @ 2013-11-14 23:58 huakaiyueluo 阅读(11730) 评论(13) 推荐(2) 编辑