string?input=Console.ReadLine();//string? allows for null-value
if(input!=null)//"filter out" null values to avoid crash
{
switch(input.ToLower())
{
case"e":
Console.Clear();
int[]tutorialCode=[2,3,5,8];
int[]tutorialGuess=[0,1,2,3];
Console.WriteLine("The goal of this game is to crack the (randomly) generated Code of which the Length will the determined by the chosen difficulty.\nIn this tutorial the Code will have a length of 4.\n Start by guessing 4 different Numbers with the Range 0 - 9 (0 and 9 are included).");
foreach(intnintutorialGuess)//fill array that saves guesses of the user
Console.WriteLine("In this game a secret code consisting of numbers (0-9) is generated\nwhich the player attempts to decipher the code through repeated guesses.");
Console.WriteLine("After each guess, feedback is provided: the number of digits in the correct position (green)\nand the number of digits that are part of the code but in the wrong position (yellow).");
Console.WriteLine("The goal is to crack the code in as few attempts as possible.\nThe game ends when the code is correctly guessed or the maximum number of attempts is reached.");
Console.WriteLine("This Game offers three diffculties which influence the following:");