public static void Main()
Console.WriteLine("player1 enter your name:");
Console.WriteLine("player2 enter your name:");
Console.WriteLine("the name of two player is:{0},{1}",A,a);
int sum1 =0, sum2 =0, l1 =0, l2 =0 ,player1 ,player2;
Console.WriteLine("num1 enter anum");
num1=int.Parse(Console.ReadLine());
Console.WriteLine("num2 enter anum");
num2=int.Parse(Console.ReadLine());
while(sum1<50 && sum2<50 && c !='n' )
Console.WriteLine("player1:continue?(y,n)");
answer = char.Parse (Console.ReadLine());
Console.WriteLine("player1 enter anum");
player1 = int.Parse(Console.ReadLine());
Console.WriteLine("the game over");
Console.WriteLine("player2:continue?(y,n)");
answer = char.Parse (Console.ReadLine());
Console.WriteLine("player2 enter anum");
player2=int.Parse(Console.ReadLine());
Console.WriteLine("the game over");
Console.WriteLine("number of the points that player1 Collected{0}",sum1);
Console.WriteLine("round{0}",i);
Console.WriteLine("The first player did not know the correct answer");
Console.WriteLine("number of the points that player2 Collected:",sum2);
Console.WriteLine("The second player did not know the correct answer");
Console.WriteLine("the game over because player1 win");
Console.WriteLine("the game over because player2 win");
Console.WriteLine("the game over because player1 or player 2 want to finish the game");
arr1 = int.Parse(Console.ReadLine());
arr2 = int.Parse(Console.ReadLine());
for (z=0 ;z<=arr1.length ;z++)
Console.WriteLine("the max in arr1:{0}",max1);
Console.WriteLine("the max in arr2:{0}",max2);
Console.WriteLine("the name of the winner is {0}" ,A);
Console.WriteLine("The number of game cycles{0}",i);
Console.WriteLine("The number of points collected by the first player{0}",sum1);
Console.WriteLine("the name of the winneris {0}",a);
Console.WriteLine("The number of game cycles{0}",i);
Console.WriteLine("The number of points collected by the second player{0}",sum2);
Console.WriteLine("the name of player1 {0}and player2{1}:",A ,a);
Console.WriteLine("The number of times the player1 guess {0}and the player2 guess{1}",l1,l2);
Console.WriteLine("the name of player1 {0}and player2{1}:",A ,a);
Console.WriteLine("The number of times the player1 guess {0}and the player2 guess{1}",l1,l2);
Console.WriteLine("you stopped the game try again later");