saveCreatures() публичный Метод

public saveCreatures ( int you, int computer ) : int
you int
computer int
Результат int
Пример #1
0
 static void Main(string[] args)
 {
     PlayGame x = new PlayGame();
     int[] a = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
     int[] b = { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 };
     Console.WriteLine(x.saveCreatures(a, b));
     Console.ReadLine();
 }
Пример #2
0
        static void Main(string[] args)
        {
            PlayGame x = new PlayGame();

            int[] a = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
            int[] b = { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 };
            Console.WriteLine(x.saveCreatures(a, b));
            Console.ReadLine();
        }