static void Main(string[] args)
        {
            Console.WriteLine("Enter search threads count: ");
            var threadsCount = Convert.ToInt32(Console.ReadLine());

            Console.WriteLine("Enter full path of search directory: ");
            var searchFolder = Console.ReadLine();

            DuplicateFilesFinder duplicateFinder = new DuplicateFilesFinder(searchFolder, threadsCount);

            duplicateFinder.Search();
        }
 public CustomThreadPool(DuplicateFilesFinder duplicateFilesFinder)
 {
     _threadsList          = new List <Thread>();
     _duplicateFilesFinder = duplicateFilesFinder;
 }