【文件属性】:
文件名称:c#基本语法介绍
文件大小:1.72MB
文件格式:PPT
更新时间:2016-08-26 10:18:29
C#
using System;
using System.Collections.Generic;
using System.Text;
// Using表示程序引用的库,上面的三个为控制台应用程序默认引用的库
namespace FirstConsoleApplication
//程序将以新建项目名称自动创建一个命名空间,即namespace,
{
class Program1
//该处的class是类的意思,是自动创建这个program类。
{
static void Main(string [] args)
//Main()函数是程序的入口
{
Console.WriteLine("hello C# 2008 !");
//输出hello C# 2008 !
Console.ReadLine();