the offending code has
using System;
using System.Windows.Forms;
using System.IO;
using System.Net;
using System.Threading;
and the flagged statement:
new Thread(delegate { getStockInfo(reslt); }).Start();
........
void getStockInfo(string Reslt)
{
.............
}
reslt is of type string and has been assigned value before the thread start.
this is the first attempt to to use thread