Hi buddy, you can use these approaches:
If you are using the .net framework 4.0 I highly recommend to use the new System.Threading.Tasks classes to do that instead of directly use the System.Threading.ThreadPool,
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.