class Program
{
static void Main(string[] args)
{
Dictionary<string, int> dic = new Dictionary<string, int>();
dic.Add("张三", 21);
dic.Add("李四", 25);
dic.Add("王五", 23);
var result = from pair in dic orderby pair.Value select pair;
foreach (KeyValuePair<string,int> pair in result)
{