public class Program
{
public static void Main(string[] args)
{
var toSortInts = new[] {1, 8, 5, 22, 3};
var sorted = toSortInts.Select(curInt => new Task(() =>
{
Thread.Sleep(curInt);
Console.WriteLine(curInt);
}))
.ToList();
sorted.ForEach(t => t.start());
Console.ReadLine();
}
}