當前位置:成語大全網 - 書法字典 - 如何按照值的升序存儲C#字典?

如何按照值的升序存儲C#字典?

字典& ltstring,string & gtdic = newDictionary & ltstring,string & gt();

dic。Add("2 "," c項");

dic。Add("6 "," f項");

dic。Add("1 "," a項");

dic。Add("7 "," g項");

dic。Add("3 "," b項");

dic。Add("5 "," e項");

dic。Add("4 "," d項");

varlist = dic。order by(s = & gt;美國價值);