Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mylist.OrderBy(p => p.Description);
おそらく昇順 - 降順はどうですか?
OrderByDescending/を使うだけThenByDescending
OrderByDescending
ThenByDescending
利用可能な拡張メソッドを作成する理由!!
mylist.OrderByDescending(p => p.Description);
使用しているものが昇順で並べられます。降順で並べ替えるには、 を使用しますOrderByDescending。