Antwort
var isNumeric = int.TryParse(Console.ReadLine(), out int n);
Mit dem hast du n als die Zahl und isNumeric sagt dir ob es eine Nummer ist oder nicht.