How To Sort An Int Array In C#?

user image

Muskan Anand

2 years ago

Array class is having method to sort any arrays. Example: int[] array = new int[] { 10, 9, 8 }; Array.Sort(array); Additional: Sort is overloaded method with IComparer as argument too.

Recent Doubts

Close [x]