ylbtech-Unitity-CS:Hello world

简介:
ylbtech-Unitity-CS:Hello world

 

1.A,效果图返回顶部
 
1.B,源代码返回顶部
1.B.1,Hello1.cs
复制代码
public class Hello1
{
   public static void Main()
   {
      System.Console.WriteLine("Hello, World!");
   }
}
复制代码
1.B.2,Hello2.cs
复制代码
using System;

public class Hello2
{
   public static void Main()
   {
      Console.WriteLine("Hello, World!");
   }
}
复制代码
1.B.3,Hello3.cs
复制代码
// Hello3.cs
// 参数:A B C D
using System;

public class Hello3
{
   public static void Main(string[] args)
   {
      Console.WriteLine("Hello, World!");
      Console.WriteLine("You entered the following {0} command line arguments:",
         args.Length );
      for (int i=0; i < args.Length; i++)
      {
         Console.WriteLine("{0}", args[i]); 
      }
   }
}
复制代码
1.B.4,Hello4.cs
复制代码
using System;

public class Hello4
{
   public static int Main(string[] args)
   {
      Console.WriteLine("Hello, World!");
      return 0;
   }
}
复制代码
1.B.5,
1.C,下载地址返回顶部

 

本文转自ylbtech博客园博客,原文链接:http://www.cnblogs.com/ylbtech/p/5062129.html,如需转载请自行联系原作者

相关文章
|
7月前
|
搜索推荐 C++ Windows
[学习][笔记]C++/WinRT入门 01Hello world
[学习][笔记]C++/WinRT入门 01Hello world
|
Windows
如何通过ildas“.NET技术”m/ilasm修改assembly的IL代码
  这段时间为跟踪一个Bug而焦头烂额,最后发现是Framework的问题,这让人多少有些绝望。所以到微软论坛提了个帖子,希望能得到些帮助。虽然论坛智能到能够判断楼主是否是MSDN订阅用户,以便尽快解决(传说MSDN订阅用户的问题能在两天内得到回复的,当时还很得意公司为我们购买的MSDN订阅账号),但得到的回复是“Could you file a bug report for this issue through Connect?”,绝望之后的又一次寒心啊。
977 0