SHARE
TWEET

Untitled

a guest Aug 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class CentralnoSkladisce
  2.         {
  3.             public List<Vozilo> skladisceVozil = new List<Vozilo>();
  4.  
  5.             public IEnumerable<Vozilo> letniki2018() // Vračanje letnikov 2018
  6.             {
  7.                 foreach(Vozilo trenutnoVozilo in skladisceVozil)
  8.                 {
  9.                     if(trenutnoVozilo._leto_izdelave_avto == 2018)
  10.                     {
  11.                         yield return trenutnoVozilo;
  12.                     }
  13.                 }
  14.             }
  15.  
  16.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top