Que[] questions = {new Que("Are you cool", "No")};
Console.WriteLine("Hello! What's your name?");
name = Console.ReadLine();
Console.WriteLine("Alright, hello " + name + "! Are you ready for a quiz?");
string response = Console.ReadLine();
Console.WriteLine("Fuck you then");
Console.WriteLine("Let's start by setting up questions for yourself");
for (int iqqq = 0; iqqq < 10; iqqq++) {
Console.WriteLine("Another one?");
string next = Console.ReadLine();
if (next == "no" || iqqq == 9) {
Console.WriteLine("Okay, now answer your own questions but with randomly generated responses!");
string[] yn = {"yes", "no"};
Random rnd = new Random();
string res = yn[rnd.Next(1)];
questions[iqqq] = new Que(next, res);
for (int i = 0; i < questions.Length * 2; i++) {
Console.WriteLine(points + "/" + 9);
public Que (string q, string a) {
Random rnd = new Random();
int rndNum = rnd.Next(questions.Length - 1);
Que que = questions[rndNum];
Console.WriteLine(que.qu);
string ans = Console.ReadLine();
Console.WriteLine("Incorrect! The correct answer was " + que.an);
Console.WriteLine("Correct!");