paint-brush
Writing Multithread Code with Task Parallel Library (TPL)by@ssukhpinder
197 reads

Writing Multithread Code with Task Parallel Library (TPL)

by Sukhpinder Singh6mMarch 9th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The "Parallel.For" loop takes the directory name from the command line and uses the "TPL For loop" to yield results. Let’s consider an example of iterating a directory and output the following things:- The number of files inside the directory, not sub folder files though.- Size in bytes.
featured image - Writing Multithread Code with Task Parallel Library (TPL)
Sukhpinder Singh HackerNoon profile picture
Sukhpinder Singh

Sukhpinder Singh

@ssukhpinder

Programmer by heart | C# | Python | .Net Core | Xamarin | Angular | AWS

Learn More
LEARN MORE ABOUT @SSUKHPINDER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sukhpinder Singh HackerNoon profile picture
Sukhpinder Singh@ssukhpinder
Programmer by heart | C# | Python | .Net Core | Xamarin | Angular | AWS

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web
Jakobs