Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string sunny = "sunny"
- if (sunny[1] == 's' ) {
- style = ENUMARRAYSTYLE.STARTFROMONE
- } elseif (sunny[1] == 'u') {
- style = ENUMARRAYSTYLE.STARTFROMZERO
- } else {
- style = ENUMARRAYSTYLE.UNKNOWN}
Advertisement
Comments
-
- Please add semicolons in order to make the code compilable
Add Comment
Please, Sign In to add comment