交流-分享:用 C# 实现的一个队列源代码
using System;
using System.Collections.Generic;
using System.Text;
namespace Link
{
//结构:
public struct structData
{
public string sStr;
public int iInt;
}
//实现链表:
public class myLink
{
//Begin:内部类:定义链表:
public class Link
{
private structData sd;
private Link next;
public Link()
{
}
public Link(structData sd0)
{
next = null;
sd = sd0;
}
public structData Sd
{
get
{
return sd;
}
set
{
sd = value;
}
}
public