Console.WriteLine (\"Please enter some numbers\"); int sum = 0; for(;;) { string input = Console.ReadLine (); if
to check if the input of the user is right i would prefer
int userInput = 0; if( int.TryParse( input, out userInput ) == false ) { break; }
This is just an advise and not directly a solution to your problem. There are enough answers =)