Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum Categories
- {
- Toys = Row 1
- Food = Row 2 and 3
- Drinks = Row 3 and 4
- Pharmaceuticals = Row 4
- Clothes = Row 5
- }
- Console.WriteLine(Toys) //Prints "Row 1"
- Console.WriteLine(Food) //Prints "Row 2 and 3"
- Console.WriteLine(Drinks) //Prints "Row 3 and 4"
- Console.WriteLine(Pharmaceuticals) //Prints "Row 4"
- Console.WriteLine(Clothes) //Prints "Row 5"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement