I was going to use verbatim string but i mistakenly typed $
instead of @
.
But the Compiler didn’t give me any Error and Compiled successfully.
I want to know what it is and what it does. I searched for it but i couldn’t find anything.
However it is not like a verbatim string because I can’t write:
string str = $"text\";
Does anyone know what $
before string stand for in C#.
string str = $"text";
I’m using Visual studio 2015 CTP.