c# - how can i sort array via linq? -


If I'm trying to sort, my columns return 0. But I need maximum value, but how? (Int i = 0; i

  (int j = 0; j  i) .ToArray (); Mycounter.Reverse (); MessageBox.Show (mycounter [0] .toString ());  

I want to sort you in the descending order, just the maximum value If needed, use the maximum extension method: to order by wordpressing .

P>

  mycounter.max ()  

Comments