Answers for "string literal c#"

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

C# Answers by Framework

Browse Popular Code Answers by Language