C# Enum with readable string
public enum MerchantType { [Description("Master merchant")] mastermerchant, [Description("Merchant")] merchant, [Description("Terminal")] terminal, error, } public static string GetDescription ( this Enum value ) { if ( value == null ) { throw new ArgumentNullException ( "value" ); } string description = value . ToString (); FieldIn...