Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
Can someone distinguish between Write() and WriteLine() methods?? In detail
1 Réponse
+ 3
WriteLine() method adds a new line character at the end after printing given string. Which means anything now you print, will start from a new line.
Whereas Write() method does not provide new line at the end. Everything you print now, will be shown in the current line only.