Hi,
how can I call a method, being referenced by a delegate object, via a thread ?
Here's what I try :
public delegate void PrintDelegate();
static void Print()
{
Console.WriteLine("Print()");
}
Main()
{
PrintDelegate pDel = new PrintDelegate(Print);
// call the function using a thread
ThreadStart thStart = new ThreadStart(???); BUT HOW ???
Thread th = new Thread(thStart);
th.Start();
}
thnx
Chris
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...