I have found this answered in other places using loops, but I wasn\'t sure if there is actually a function that I\'m not finding that makes this easier, or if this is a poss
You'll have to check the entire thing on it's way in.. as Console.Read() returns an integer.
Console.Read()
double totalSalary; if (!double.TryParse(Console.ReadLine(), out totalSalary)) { // .. error with input } // .. totalSalary is okay here.