Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- delegate1.DynamicInvoke(args1);
- // some code here
- delegate2.DynamicInvoke(args2);
- Action write = () => Console.WriteLine("foo");
- Action del1 = () => { ThreadPool.QueueUserWorkItem(write); }
- ...
- del1.DynamicInvoke();
Add Comment
Please, Sign In to add comment