示例#1
0
        public List <Pica> IsciPice(TipPice tipPice)
        {
            List <Pica> temp = new List <Pica>();

            foreach (Pica pica in stalna_ponudba)
            {
                if (pica.tipPice == tipPice)
                {
                    temp.Add(pica);
                }
            }

            return(temp);
        }
示例#2
0
 public Pica(string sestavine, TipPice tipPice, double cena)
 {
     this.sestavine = sestavine;
     this.tipPice   = tipPice;
     this.cena      = cena;
 }