Example for the book Packt Publishing Parallel-Programming-and-Concurrency-with-C-sharp-10-and-.NET-6
-
The book files are here
-
References
-
Semaphore Explained C#
-
Channels
here we go... Test 16
$binFolders=Get-ChildItem -Path . -Filter ./bin -Recurse -ErrorAction SilentlyContinue -Force foreach($binFolder in $binFolders){ Remove-Item -Force -Recurse -Path $binFolder } $objFolders=Get-ChildItem -Path . -Filter ./obj -Recurse -ErrorAction SilentlyContinue -Force foreach($objFolder in $objFolders){ Remove-Item -Force -Recurse -Path $objFolder }