IsValid() public méthode

public IsValid ( string cardNumber ) : bool
cardNumber string
Résultat bool
        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);
            //}
        }