C Sharp (C#) - LINQ Fundamentals
What will be the output of the following code?
var numbers = new List<int> { 5, 3, 8, 1 };
var sorted = numbers.OrderBy(n => n);
foreach(var num in sorted) Console.Write(num + " ");