Hey all,
I'm very new to programming (erm day 3 today) so i apologize if my terminology is wrong.
I've been learning from a very good book. But i decided to go and learn a few things on my own. One of the main things that intrested me is multi threading. I seemed to get how the basics worked. Untill i tried to start a method with paramiters. After some fiddleing and some googling i managed to get it working by changing my int value on the method to an object value. My question is simply WHY do i need to define my variable as an object to make it work? I just cant seem to get my head around it. Why can i not do something like Thread tid1 = new Thread(bob.thead1(1000));Code:
using System;
using
namespace
{
tid1.Start(10);
tid2.Start(30);
tid3.Start(500);
tid4.Start(254);
}
Thanks in advance.
James