Permalink
Fetching contributors…
Cannot retrieve contributors at this time
|
class ExtensionMethods2 |
|
{ |
|
|
|
static void Main() |
|
{ |
|
int[] ints = { 10, 45, 15, 39, 21, 26 }; |
|
var result = ints.OrderBy(g => g); |
|
foreach (var i in result) |
|
{ |
|
System.Console.Write(i + " "); |
|
} |
|
} |
|
} |
|
//Output: 10 15 21 26 39 45 |
You can't perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.