📜  占位符语法 c# 代码示例

📅  最后修改于: 2022-03-11 14:49:01.356000             🧑  作者: Mango

代码示例1
string name = "mustafa";
int age = 22;
Console.WriteLine("Hi {0} you are {1} years old.", name, age);
======================OUTPUT===================================
>>  'Hi mustafa you are 22 years old.'