Código
for (int i = 0; i < questions.Length; i++) { int rQ = rQuestions.Next(9); Console.WriteLine(questions[rQ]); Console.WriteLine(answers[rQ]); int iTry = int.Parse(Console.ReadLine()); if (iTry == rAnswers[rQ]) { points++; Console.WriteLine("Great!!"); } else { Console.WriteLine("False!!"); } Console.WriteLine(); }
Mod: Obligatorio el uso de etiquetas GeSHi. Los temas sobre C# van a su correspondiente subforo.