Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 27, 2012 8:27:22 AM |
Updated | Feb 27, 2012 8:27:22 AM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; using System.Threading.Tasks; class Program { static void Main() { Task.Factory.StartNew(() => Console.WriteLine(1)); Task.Factory.StartNew(() => Console.WriteLine(2)); Task.WaitAll(); // it does not actually wait for anything } }