Example #1
0
 public void Add(veg o)
 {
     if (cnt >= 10)
     {
         return;
     }
     mas[cnt] = o;
     cnt++;
 }
Example #2
0
 public int CompareTo(veg p)
 {
     return(this.Price.CompareTo(p.Price));
 }
Example #3
0
 public int CompareTo(veg p)
 {
     return(this.DateOut.CompareTo(p.Price));
 }