刚开始学c#,我写了个简单的main方法,用Console.WriteLine("Welcome ");进行打印,
结果怎么也看不到结果。
我怎么才能在vs.net中看到打印的结果啊!
那位大虾帮帮忙啊

解决方案 »

  1.   

    恩!我知道了,不过我运行 csc welcome.cs 时怎么报
    D:\mytest\mytest>csc Welcome.cs
    Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
    for Microsoft (R) .NET Framework version 1.1.4322
    Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.error CS5001: Program 'd:\mytest\mytest\Welcome.exe' does not have an entry
            point defined这个错?到底怎么回事呢?
      

  2.   

    输入 welcome.cs 
    不加csc
      

  3.   

    建议楼主去msdn看看相关的帮助 直接build 然后Start without Debugging
      

  4.   

    楼主是不是没有Main函数的入口阿