What is the use of $ in c#? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

What is the use of $ in c#?

explaim me

31st Jan 2018, 12:23 PM
Vishal R
Vishal R - avatar
3 ответов
+ 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