CSharp examples for Language Basics:string
Inserting content into a string with string interpolation.
using System;/*from ww w.j av a2s . c o m*/ class Welcome4 { static void Main() { string person = "abc"; // variable that stores the string "abc" Console.WriteLine($"Welcome to C# Programming, {person}!"); } }