public string FindByValue(int value) { var constant = Constants.Find(c => c.Value == value); return constant != null ? constant.Name : null; } }