What is the use of {0} | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of {0}

static void Main(string[] args) { string yourName; Console.WriteLine("What is your name?"); yourName = Console.ReadLine(); Console.WriteLine("Hello {0}", yourName); } Is there any porpuse for the {0}?

3rd Sep 2019, 3:48 PM
Acrol
Acrol  - avatar
0 Answers