KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Possible Duplicate: C#: How to enumerate an enum? Hi All, I have an Enum public enum AttributeType { TextField = 1, TextArea = 2, Date = 4, Boolean = 8 } I want to foreach this enum and make an object array of it in this format object data = new object[] { // new object[] { 1,"TextField"} new object[] { enumValue, enumText} };
Tags (comma-separated)
Save Edits
Cancel