Dictionary<string,string> myDic = GetContent();myDic = myDic.orderby(mk => mk.Value);
Cannot implicitly convert type 'System.Linq.IOrderedEnumerable<System.Collections.Generic.KeyValuePair<string,string>>' to 'System.Collections.Generic.Dictionary<string,string>'. An explicit conversion exists (are you missing a cast?)
IOrderedEnumerable<KeyValuePair<string, string>> ordered = myDic.OrderBy(mk => mk.Value);
myDic = ordered.ToDictionary(x => x.Key, x => x.Value);