Can enum take string values?

There is no built-in method of declaring an enumeration with string values . If we want to declare an enumeration with string constants, we can use the enum class and an extension function to achieve this goal.

Sizin İçin Seçtik  Şikayetçi oldum nereden takip edebilirim?

Leave a Reply

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