DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
string interpolation in C#
string
foo
=
"bar"
;
Console
.
WriteLine
(
$"
{
foo
}
"
)
// prints "bar"
Source by en.wikipedia.org #
PREVIOUS
NEXT
Tagged:
#string
#interpolation
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit