Format:
Recent snippets matching tags of enums
//Enum declaration public enum RoleType { [Description("Allows access to public information")] Guest = 0, [Description("Allows access to the blog")] BlogReader = 4, } //Converter public static string ReadDescription<T>(T enumMember) {
170 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
