static void Main(string[] args) { string ttUserId = "ekocatulum"; string ttPassword = "******"; apiInitialize tf = new apiInitialize(ttUserId, ttPassword); tf.TickerheadList = ContractMetaInfo.FuturesButterflyTickerheadList; Thread workerThread = new Thread(tf.Start); workerThread.Name = "TT API Thread"; workerThread.Start(); Console.ReadLine(); }