示例#1
0
        public carrinho(Cinemas cinemaSelec)
        {
            Random rnd = new Random();

            id     = rnd.Next(1000, 5000);
            cinema = cinemaSelec;
        }
示例#2
0
        public carrinho(int cliente, Cinemas cinemaSelec)
        {
            Random rnd = new Random();

            id        = rnd.Next(1000, 5000);
            cinema    = cinemaSelec;
            idCliente = cliente;
        }