Is there a way of determining the name of a constant from a given value?
For example, given the following:
public const uint ERR_OK = 0x00000000;
Ho
I suggest you use an enum to represent your constant.
Or
string ReturnConstant(uint val) { if(val == 0x00000000) return "ERR_OK"; else return null; }