var dict = new Dictionary<int, string>();
foreach (var name in Enum.GetNames(typeof(Translation)))
{
    dict.Add((int)Enum.Parse(typeof(Translation), name), name);
}

http://stackoverflow.com/questions/1599386/coverting-enums-to-key-value-pairs


위 방법이 좋아보임.

+ Recent posts