Developer, Former MVP, now at Microsoft - Best of 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
System.Threading.dll
Program.cs
using System;using System.Threading.Tasks;static class Program{ static void Main() { Task t1 = Task.Create(delegate { Task t2 = Task.Create( // breakpoint #1 (o) => Console.WriteLine(o.ToString()) // breakpoint #2 , "hey"); t2.Wait(); // breakpoint #3 }); t1.Wait(); // breakpoint #4 Console.ReadLine(); // breakpoint #5 }}
t1
t2