how to sort two dimensional array ascending by row in c#. I'm newbie | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to sort two dimensional array ascending by row in c#. I'm newbie

24th Feb 2023, 1:50 PM
Chin Su
Chin Su - avatar
2 Answers
+ 2
You can look up if there's a sort method/function and how to use it. Otherwise, you'll need to iterate through the array and compare the values.
24th Feb 2023, 1:55 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
https://www.sololearn.com/learn/774/?ref=app Learn sorting algorithms here then apply it to your program
24th Feb 2023, 2:02 PM
I am offline
I am offline - avatar