Anonymous user
Sort an integer array: Difference between revisions
added c#
(added c#) |
|||
Line 168:
nums.sort();
}
=={{header|C sharp|C#}}==
<lang csharp>using System;
using System.Collections.Generic;
public class Program {
static void Main() {
int[] unsorted = new int[] { 6, 2, 7, 8, 3, 1, 10, 5, 4, 9 };
Array.Sort(unsorted);
}
}</lang>
=={{header|Clean}}==
|