What is type of enum?
(a) int (b) byte (c) float (d) all the above
hey experts give me a answer...........
Enum
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Aleksandar IlioskiRank #9,295 · 208 reputationPosted Jan 31, 2010, 5:02 AM EST
but if you has for example
public enum beautifulColors
{red,gren,yalow,}
and later in the conde you write: (int)beautifulColors.red, you will get value:0,
(int)beautifulColor.green, result would be 1.. ... if that helps you ...