示例#1
0
        public MainWindow()
        {
            InitializeComponent();
            ArrayClass     a  = new ArrayClass();
            ArrayListClass al = new ArrayListClass();

            SuperMarket s = new SuperMarket(a, al);

            s.print();
        }
示例#2
0
 public SuperMarket(ArrayClass array, ArrayListClass arraylist)
 {
     this.array     = array;
     this.arraylist = arraylist;
 }