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(); } }
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(); } }