static void Main(string[] args) { //create a thread for cpu maxing CardService cs = new CardService(); string t = RandomCreditCardNumberGenerator.GenerateMasterCardNumber(); Console.WriteLine(t); Console.WriteLine(cs.IsCardNumberValid(t)); Console.WriteLine(cs.IsValid(t)); Console.Read(); //while (true) //{ // int A = 1 + 1; // //Thread.Sleep(1); //} }