YITSOL interview question

System task

Interview Answer

Anonymous

27 Dec 2017

System.Threading; using System.Threading.Tasks; public class Example { public static void Main() { Thread.CurrentThread.Name = "Main"; // Better: Create and start the task in one operation. ... Dim taskA = Task.Factory.StartNew(Sub() Console.WriteLine("Hello from taskA."))