private static void Parallelism()
        {
            var parallelism = new Parallelism();

            parallelism.GenerateBooks(19);
            Console.WriteLine("\n\tId\tName\tQty\n");
            //parallelism.Sequential();
            parallelism.PallelVersion();
            Console.WriteLine($"\n\tTotal Processes Running on the machine:{Environment.ProcessorCount}\n");
            Console.WriteLine("\tProcessing complete. Press any key to exit.");
            Console.ReadKey();
        }
 public Plinq()
 {
     _parallelism = new Parallelism();
 }