求堆栈数据结构的C#实现
求堆栈数据结构的C#实现
日期:2007-05-26 14:37:50 人气:1
public class Stack
{
private ItemType[] items;
private int top,size;
private bool IsFull;
public Stack(int size)
{
top = 0;
items = new ItemType[size];
this.size = siz