Exemplo n.º 1
0
 static void Main(string[] args)
 {
     int number;
     Cards cr = new Cards();
     Console.ForegroundColor = ConsoleColor.Green;
     number = Convert.ToInt32(Console.ReadLine());
     Console.WriteLine(cr.OutCards(number));
     Console.ReadKey();
 }
Exemplo n.º 2
0
 public Cards()
 {
     for (int i = 1; i <= 4; i++)
         for (int j = 2; j <= 21; j++)
             koloda[(i - 1) * 9 + (j - 5)] = new Cards(i, j);
 }