private static void Background_do(object sender, DoWorkEventArgs e) { var smallerPrime = Prime.GetBiggestSmallerPrimeNumberLazy(number); Console.WriteLine(smallerPrime); }