How to write parallel programming in c#
I have a batch list , I want to process only 5 at a time by creating 5 threads.Until the 5 thread processing completes it should not take other batch.
How to achieve this ? Can we make use of async and await methods or any other ideas to accomplish this multi-threading concept.