daily pastebin goal
89%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. GenderType genderType;
  2.             gender = gender.ToLower();
  3.             switch (gender)
  4.             {
  5.                 case "men": genderType = GenderType.Men; break;
  6.                 case "women": genderType = GenderType.Women; break;
  7.                 case "unisex": genderType = GenderType.Unisex; break;
  8.                 default: genderType = GenderType.Unisex; break;
  9.             }
  10.             return new Product(name, brand, price, genderType);
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
 
Top