《21天学通C#》课后习题:编写代码将你的名字打印到控制台

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 编写将你的名字打印到控制台的代码
{
class Program
{
static void Main(string[] args)
{
Console.Write("请输入你的名字:");
string name = Console.ReadLine();
Console.WriteLine("欢迎你,{0}", name);
Console.WriteLine("请输入任意键退出程序");
Console.ReadKey();
}
}
}

原文地址:https://www.cnblogs.com/nnty/p/9909610.html