Should enums be string or int?

Therefore, go for the meaning : the Strings are more meaningful than numbers, so use the String . Show activity on this post. Both have advantages. If you store them by their Integer value, then you must be careful editing your enumeration later on in your project.

Sizin İçin Seçtik  What are state management techniques in ASP NET MVC?

Leave a Reply

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