4th Jul 2018, 10:34 AM
salah
6 Réponses
4th Jul 2018, 10:41 AM
Daljeet Singh
Daljeet Singh - avatar
+ 3
also.. I'm not sure of the purpose to have Console.Readkey () within the for loop... if you are trying to prevent the window from closing.. I would run either in debug mode on your compiler.. or put the statement outside the for loop... unless your asking for input.. at least in SL it's not needed... from my experience. hope this helps :)
4th Jul 2018, 11:19 AM
laura
+ 2
c# is case sensitive. use of commas vs semicolon. ....the syntax for a for loop... example for (int i = 0; i < 5; i++) { // code goes here }
4th Jul 2018, 11:09 AM
laura
+ 1
it's still unworkable
4th Jul 2018, 12:30 PM
salah
+ 1
it's work https://code.sololearn.com/crj1yyi66oYZ/?ref=app the wrong is in the basic codes
4th Jul 2018, 12:38 PM
salah
0
it basically works....there is still an exception. .. for SL you need to remove the Console.Readkey ()... in a program like Visual Studio.. this line would be fine..
4th Jul 2018, 2:26 PM
laura