I\'m trying to find a LINQ oneliner that takes a Dictionary and returns a Dictionary....it might not be possible, but would be nice.
var collectionNames = new Dictionary(); Array.ForEach(Enum.GetNames(typeof(YOUR_TYPE)), name => { Int32 val = (Int32)Enum.Parse(typeof(YOUR_TYPE), name, true); collectionNames[val] = name; });