Select from following answers:- ThreadStart delegate
- ParameterizedThreadStart delegate

- SynchronizationContext class
- ExecutionContext class
- All Above
When you start a thread that requires a single parameter use ParameterizedThreadStart delegate.
Example:
Thread t = new Thread (new ParameterizedThreadStart(MyFunc)); //myfun reqires to take an object type parameter.
static void MyFunc(object obj)
{
}
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator