Computer Science, asked by pkash590, 11 months ago

What is the method for sorting a list in C#?

Answers

Answered by meghrajsingh1008
0

List<T>.Sort() Method is used to sort the elements or a portion of the elements in the List<T> using either the specified or default IComparer<T> implementation or a provided Comparison<T> delegate to compare list elements. There are total 4 methods in the overload list of this method as follows:

Similar questions