一、第一个C#程序
1.1 入门程序
using System;
namespace Program
{
class MainClass
{
public static void Main(string[] args) {
// 这是一条输出语句
Console.WriteLine("hello world");// 输出:hello world
}
}
}
1.2 入门程序常见错误
(1)单词拼写错误
(2)大小写错误
(3)中英文符号