C# reflection to display a struct's members with their descriptions


/ Published in: C#
Save to your folder(s)

I frequently need to create a struct to be displayed in an app. The DescriptionAttribute is used to display a member's description.

Room for improvement:
* nested structs/enums
* Implement a TreeViewAble Interface

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.