Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    It would be awesome if you could provide a minimal reproducible example (in text of your question, not as an external link). Commented Apr 5, 2018 at 8:14
  • 6
    value can not start with number (2ndOffers is invalid value) Commented Apr 5, 2018 at 8:14
  • The problem is your 2ndOffers enum value, you cannot start an identifier with a digit. It has to be an underscore or a letter. Try using SecondOffers instead. Commented Apr 5, 2018 at 8:16
  • Possible duplicate of C# using numbers in an enum Commented Apr 5, 2018 at 8:19
  • Thanks all, it sure did solved the problem Commented Apr 5, 2018 at 8:34