why not added concatenation? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

why not added concatenation?

Why not added concatenation? Example: Console.WriteLine("Hello {0}", yourName); added as Console.WriteLine("Hello" + yourName); Why not?

9th Jul 2017, 8:52 PM
Руслан Бытыбаев
Руслан Бытыбаев - avatar
1 Réponse
+ 8
The standard is to use placeholders, but you can use whichever is to your preference, if you want. Look here, too: https://www.sololearn.com/discuss/84544/?ref=app
9th Jul 2017, 9:18 PM
Tamra
Tamra - avatar