private static Testing Test(IEnumerable<KeyValuePair<string, ContentInfo>> tmp) { var t = new Testing { Data = tmp, Progress = 0 }; var thrd = new Thread(new ParameterizedThreadStart(OnTest)); thrd.IsBackground = true; thrd.Start(t); return t; }