Does an Enum exist for Asc or Desc ordering?

前端 未结 5 618
后悔当初
后悔当初 2021-02-03 17:53

Is there an Enum natively in .NET for asceding or Desceding ordering?

I need to use the ordering concept in different libraries, and I want loose coupling as possible.

5条回答
  •  臣服心动
    2021-02-03 18:38

    • SortOrder in System.Data.SqlClient
    • ListSortDirection in System.ComponentModel

提交回复
热议问题