In Java, it’s possible to have methods inside an enum.

Is there such possibility in C# or is it just a string collection and that’s it?

I tried to override ToString() but it does not compile. Does someone have a simple code sample?

6 Answers
6

Leave a Reply

Your email address will not be published. Required fields are marked *