BitsAndPieces.Asynchrony.RunWithThreadPool C# (CSharp) Method

RunWithThreadPool() public method

public RunWithThreadPool ( ) : void
return void
        public void RunWithThreadPool()
        {
            for (int i = 0; i < 5; i++)
            {
                ThreadPool.QueueUserWorkItem(x =>
                    {
                        Debug.WriteLine(x.ToString());
                    });
            }
        }