Answers for "c# literal string"

C#
5

c# write variable in string

int age = 22;

Console.WriteLine($"Age: {age}");
Posted by: Guest on July-03-2020
1

c# string verbatim

//start @ character
string str = @"dont have to escape  sign, use double "" for single  ";
//dont have to escape  sign, use double " for single
Posted by: Guest on December-22-2020
0

verbatom literal

A verbatim string literal consists of an @ character followed by a double-quote character, zero or more characters, and a closing double-quote character. ... In a verbatim string literal, the characters between the delimiters are interpreted verbatim, the only exception being a quote-escape-sequence
Posted by: Guest on April-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language