Ejemplo n.º 1
0
        public void new_shirt_product(int _shirts_category)
        {
            _shirts_category = 0;
            _shirts_category = rnd.Next(1, 3);

            if (_shirts_category == 1)
            {
                CasualShirts casualShirts = new CasualShirts();
            }
            else if (_shirts_category == 2)
            {
                FineShirts fineShirts = new FineShirts();
            }
        }
Ejemplo n.º 2
0
        public void RandomShirt()
        {
            int _shirts_category = 0;

            _shirts_category = rnd.Next(1, 3);

            if (_shirts_category == 1)
            {
                CasualShirts casualShirts = new CasualShirts();
            }
            else if (_shirts_category == 2)
            {
                FineShirts fineShirts = new FineShirts();
            }
        }