代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
/**
*
**/
//1.询问
Console.WriteLine("请您输入姓名");
Console.WriteLine("请您输入年龄");
Console.WriteLine("请您输入性别");
//2.接受用户输入
string name = Console.ReadLine();
string age = Console.ReadLine();
string str = Console.ReadLine();
//3.对用户进行反馈
Console.WriteLine("您好{0},您的年龄是{1},是{2}生", name, age, str);
Console.ReadKey();
}
}
}