Content deleted Content added
→JavaScript: fix syntaxhighlight errors |
→Visual Basic: fix syntaxhighlight error |
||
Line 446:
As of Visual Basic 14, string interpolation is supported in Visual Basic.<ref>{{Cite web|last=KathleenDollard|title=Interpolated Strings - Visual Basic|url=https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/strings/interpolated-strings|access-date=2021-06-20|website=docs.microsoft.com|language=en-us}}</ref>
<syntaxhighlight lang="
name = "Tom"
Console.WriteLine($"Hello, {name}")
</syntaxhighlight>
will print "{{samp|Hello, Tom}}".
== See also ==
|