I have an enum
public enum ProductionStatus { Received = 000, Validated = 010, PlannedAndConverted = 020, InProduction = 030, QAChecked = 040, Delivered = 070, RejectedOrCancelled = 100 } I need to get value by key from this enum, for example when choosing ProductionStatus.Validated it should return 010. How can I do this?