String interpolation
with use of $ in console.writeline we can add {} brackets.
int a=5;
console.write line($"hello {a}")
String interpolation
with use of $ in console.writeline we can add {} brackets.
int a=5;
console.write line($"hello {a}")
using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}