How to convert all elements from enum to string?
Assume I have:
public enum LogicOperands {
None,
Or,
And,
Custom
}
And what I want to archive is something like:
string LogicOperandsStr = LogicOperands.ToString();
// expected result: "None,Or,And,Custom"