基础知识

**.sln      (解决方案管理文件)

**.csproj  (项目管理文件)

**.cs       (源代码文件)

using System;
using System.Collection.Generic;
usign System.Linq;
using System.Text; //using(调用命名空间)

namespace ConsoleApplicationl //命名空间
 {
      class Program //
     {
     //主函数:程序的入口,一个程序有且只有一个入口
       static viod Main((string[] args)
         {
                  //在Main函数中开始写程序
                  Console.Write("hello word"); //输出
                  Console.ReadLine();//用户录入,可以用来防止控制台运行完之后关闭
          }
     }
}

 

posted @ 2016-03-30 09:52  凌零聆  阅读(113)  评论(0编辑  收藏  举报