I’ve created this program in C# but I’m getting a ‘Method Name Expected’ error. What am I doing wrong?
for (int i = 0; i < numberofThreads2; i++)
{
Thread thread1 = new Thread(new ThreadStart (Start(1, 2, 3, 4, 5)));
thread1.Start();
}
You’re creating your thread delegate wrong. Try: