using System;

class welcome
{
static void Main()
{
Console.WriteLine("Please enter your name:"); 
Console.ReadLine(); 
Console.WriteLine ("Welcome to you!");

}
}

解决方案 »

  1.   

    我用的microsoft visual studio。net
      

  2.   

    把你的这段代码放到一个控制台应用程序中执行
    而且你Console.WriteLine
    注意L要大写
      

  3.   

    using System;namespace CConApp030114
    {
    /// <summary>
    /// Summary description for Class1.
    /// </summary>
    class Class1
    {
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main(string[] args)
    {
    //
    // TODO: Add code to start application here
    // Console.WriteLine("Please enter your name:");
    Console.ReadLine();
    Console.WriteLine("Welcome to you!"); }
    }
    }