一、C#与.NET是什么?
- C#:是一种编程语言,可以开发基于.NET平台的应用
- .NET:一般指.NET Framework框架,它是一种平台、一种技术
二、C#与.NET都能做什么?
- 可以开发左面应用程序 winfrom应用程序 比如:qq
- internet应用程序:asp.net,开发网站
- Unity3D:游戏开发或者虚拟与现实
三、.NET两种交互模式
- C/S:客户机(client)/服务器(server),客户电脑必须安装软件
- B/S:浏览器(browser)/服务器(server),只需要安装浏览器就可以运行
四、VS的认识

五、Hello World

代码Program.cs它是主类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello world");
//停止,防止一闪而过 按任意键继续
Console.ReadKey();
}
}
}

网友评论