Data From Defined Class
If I have a class
- public enum Product : byte
- {
- Hammer = 1,
- Nails = 2,
- Screwdriver = 3
- }
Thank you
- MessageBox.Show(Variables.Product.1)
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 attend5days leftRegister
Tanmay HajraRank #7,741 · 235 reputationPosted May 23, 2017, 8:39 AM EDT
Jay Stewart120 reputationPosted May 23, 2017, 10:21 AM EDT
Jay Stewart120 reputationPosted May 23, 2017, 7:36 AM EDT
Tanmay HajraRank #7,741 · 235 reputationPosted May 23, 2017, 8:29 PM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted May 23, 2017, 6:46 AM EDT
byte, sbyte, short, ushort, int, uint, long, or ulong.