sing System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.WriteLine("姓名"); string name = Console.ReadLine(); Console.WriteLine("年龄"); string age= Console.ReadLine(); Console.WriteLine("性别"); string gender = Console.ReadLine(); Console.WriteLine("您好{0}您的年龄是{1}您是{2}生", name, age, gender); Console.ReadKey(); } } }
网友评论