If you create a ThreadStart delegate you can call the function Invoke() from it, but I tried search through documentation and I was not able to find the Invoke() function and what exactly it does, I'm wondering, does it creates a new thread and executes the function delegated to it, or it just executes as an action on the same thread ?
Edit 1:
sample code:
ThreadStart threadStart = delegate
{
someFunction();
}
threadStart.Invoke();