A recent internal thread and a little nudge inspired me to offer this little quiz to keep the old grey matter working over the holiday break. 

In V2.0, does this code compile?  If not why not and how would you fix it? 

 

Obviously the quiz is a little more challenging if you attempt it with out the aid of the compiler…

 

using System;

using System.Threading;

 

public class Class1

{

  public static void Main () {

    new Thread(delegate { Console.WriteLine("On another thread"); }).Start();

  }

}