Created
November 12, 2017 13:34
-
-
Save luisdeol/456ce156c7a26f9c55d78c7a6aa87549 to your computer and use it in GitHub Desktop.
Using Thread Pools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MultiThreadingExamples | |
{ | |
class UsingThreadPools | |
{ | |
static void Main(string[] args) | |
{ | |
ThreadPool.QueueUserWorkItem((work) => | |
{ | |
Console.WriteLine("Luis is trying to do something here..."); | |
}); | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment