Код: Выделить всё
var thread = new Thread(() =>{
/*thread code*/
});
thread.Name = "Thread1";
thread.Start();`
Код: Выделить всё
var thread = new Thread(() =>(myObject){
});
Подробнее здесь: https://stackoverflow.com/questions/203 ... d-function
Код: Выделить всё
var thread = new Thread(() =>{
/*thread code*/
});
thread.Name = "Thread1";
thread.Start();`
Код: Выделить всё
var thread = new Thread(() =>(myObject){
});