public static void Go() { Thread t = new Thread(LookAtValue); t.IsBackground = true; t.Start(); for (ulong i = 0; i < ulong.MaxValue; ++i) { s_value = new SolidStruct(i); } }
static void LookAtValue() { while (true) { SolidStruct value = s_value; if (value.A != value.B || value.B != value.C || value.C != value.D) { Console.WriteLine(value); } Console.ReadLine(); } }