using System;
using System.Linq;
using System.Reflection;
using System.Threading;
public class Program
{
public static void Main()
new Foo().Bar();
}
public class Foo
public static readonly string myImportantString;
public Foo()
Foo.myImportantString = "Something very important";
public void Bar()
new Thread(() =>
Console.WriteLine(Foo.myImportantString); //For whatever reason myImportantString is null at the point this is being executed
}).Start();