I have the following enum:
public enum LifeCycle
{
Pending = 0,
Approved = 1,
Rejected = 2,
}
And I want to create
Dictionary<int, string> LifeCycleDict;
from the enum
value and its toString
Is there a way to do it with linq?
(The equivelant to java's enum.values )
Thanks.