【发布时间】:2014-09-25 05:40:50
【问题描述】:
我想在列表视图中显示数据,数据存储在Queue 中,数据类型是用户定义的类型(包括两个字符串和一个整数类型)。
如何在每个入队和出队过程之后显示里面的数据,命令行和语法是什么?
Queue<Customer> aCustomerQueue =new Queue<Customer>();// its the queue
class Customer// its the user defined type variable class
{
public string name;
public string complain;
public int serialNo;
}
存储的数据将是用户输入。
【问题讨论】: