c# pass variable to thread code example Example: pass parameter to thread c# Thread thread = new Thread(() => download(filename)); thread.Start();