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 result = dict.ToDictionary(kvp => kvp.Key, kvp => (SomeEnum)Enum.ToObject(typeof(SomeEnum), kvp.Value));