this the only one that I know and it worked out for me...
string[] ric = new string[] { "https://www.youtube.com/watch?v=vzuQeFOiyYE", "https://www.youtube.com/watch?v=xXdHgCao0fU", "https://www.youtube.com/watch?v=3Fi-KxsTF9E"}; Parallel.ForEach( ric, tuple => { Console.WriteLine(tuple); Thread.Sleep(1000); Console.WriteLine("{0}: Extracted {1} urls", DateTime.Now, count); Interlocked.Increment(ref count); });