Answers for "string using c#"

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
1

how to create a string in c#

string stringNameHere = "insert text here";
Posted by: Guest on April-18-2021

C# Answers by Framework

Browse Popular Code Answers by Language