if (Easy)
{
try
{
reader = File.OpenText(@"../../TxtFiles/eneral_Easy.txt");
throw new FileNotFoundException();
}
catch (FileNotFoundException ex)
{
Console.WriteLine("Kan het bestand General_Easy.txt niet vinden!" + ex.Message);
}
}
else
{
reader = File.OpenText(@"../../TxtFiles/General_Hard.txt");
}
string line = reader.ReadLine();
while (line != null)
{
questionList.Add(line);
line = reader.ReadLine();
}
reader.Close();
NumberOfQuestions = questionList.Count;
if (Easy)
{
try
{
reader = File