Can enums have string values?

No they cannot . They are limited to numeric values of the underlying enum type. +1 Good one with the helper method! ToString(“F”) is useful for formatting to the name of the enum value, if they don’t want custom strings.

Sizin İçin Seçtik  What is the future of Shiba Inu?

Leave a Reply

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