Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
first test
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var mylist = new List<string>(){"one", "two"}; mylist = mylist.OrderByDescending(a => a).ToList(); foreach (var i in mylist) { Console.WriteLine(i); } //Your code goes here Console.WriteLine("Hello, world!"); } } }
run
|
edit
|
history
|
help
0
Inheritiance
12
LevenshteinDistance
SortRank
Delegaty
linear search
Linq - When using FirstOrDefault, make sure to check for null result
sortowania przez wstawienie Correct
C++ lesson
base exterior