why not added concatenation? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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