📜  c# 名称脚本 - C# 代码示例

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

代码示例1
Console.Write("What's your first name?  ");
string firstname = Console.ReadLine();
Console.Write("What's your last name?  ");
string lastname = Console.ReadLine();
string fullname = ("G'day " + firstname + " " + lastname);
Console.WriteLine(fullname);