When i implement
WaitCallback waitCB = new WaitCallback(DisplayTime);
for (int i = 1; i <= 5; i++)
{
ThreadPool.QueueUserWorkItem(waitCB, null);
Thread.Sleep(2000);
}
public void DisplayTime(object state)
{
Console.WriteLine("Current Time {0} ", DateTime.Now);
}
( 1 ) Does it mean ,my job is queued into to CLR ?
( 2 ) Will CLR process it after finishing the existing pending item in the queue ?
( 3 ) Will the time to process my item in the queue is not predictable?