+ 1
Why i must put ; in the end of each line
5 Réponses
+ 3
Think as if the code compiler was your friend, and you're texting with him/her. You have a habit of writing lengthy text without any punctuation. Comma and period has no place in your text. Only God knows where your sentence begin and where it ends, being without any punctuation.
The compiler really has no clue where the instructions begin or where they end without the semicolon.
Hope this clear things up a bit : )
+ 2
You're very welcome my friend, and Thank you for kind wish ... Salam.
+ 1
good friend but look
when i write this code for exemple
console.writeline(Mustapha)
why i must pût it
so from you comment i understand that in code c#
every command must end with ;
+ 1
Yes my friend, you got the point of the story right 👍
Also, must keep in mind, language such as C# is case sensitive, it means 'console.writeline' is considered different with 'Console.WriteLine'.
Happy coding!
+ 1
Thank you very much
جازاك الله خيرا