What is the use of $ in c#? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

What is the use of $ in c#?

explaim me

31st Jan 2018, 12:23 PM
Vishal R
Vishal R - avatar
3 Respostas
+ 2
The $ is a advanced way of using placeholders. Instead off having all variables at the end of the line, with $ you can put the variables in-line. This makes the code more readable. https://code.sololearn.com/c9Sy3XspIEZB/?ref=app
31st Jan 2018, 1:02 PM
sneeze
sneeze - avatar
+ 2
Please like me
31st Jan 2018, 1:59 PM
ŠŠ±Ń€Š°Š¼Š¾Š² Š®Ń€ŠøŠ¹
ŠŠ±Ń€Š°Š¼Š¾Š² Š®Ń€ŠøŠ¹ - avatar
0
@sneeze thnqšŸ˜
31st Jan 2018, 2:00 PM
Vishal R
Vishal R - avatar