Blog

Choose correct for calling InitLoopInThread function on thread

public class SomeClass {

public void InitLoopInThread(int end) {
for (int z = 0; z < end; z++) {
Console.Write(“My Thread {0}”,z);
}
}
}

class Program {

static void Main(string[] args) {
SomeClass someClass = new SomeClass();
// your code is placed here
t.Start();
}

}