Answers for "how does a string work in csharp"

C#
3

c# $ string

string color = blue;

// Both versions do the same thing.
Console.WriteLine("The sky is " + color);
Console.WriteLine($"The sky is {color}");
//Note the dollar ^sign    and ^curly^ brackets.
Posted by: Guest on March-27-2021

Code answers related to "how does a string work in csharp"

C# Answers by Framework

Browse Popular Code Answers by Language