C#-Overview (What is it? What can it be done? .NET, IDE)

 

 

What is C# ?

A programming language that can develop applications based on the .NET platform


What is .NET ?

Refers to the .NET Framework, a platform, a technology


What is IDE ?

Integrated Development Environment, Integrated Development Environment

.NET IDE is vs2019


What is the relationship between C# and .NET?

C# is to develop applications on the .NET platform


What can .NET do?

  • Desktop application, developed called Winform application
  • Internet application, which is called ASP.NET application
  • Mobile phone application, Wp8

.NET two interactive modes

C/S: Client and server, the client needs to install special client software, such as QQ, WeChat

B/S: Browser and server, only one browser needs to be installed on the client, such as web version 7K7K, 4399 mini games


What does MSDN do?

Help documentation. We select the keyword to be viewed and press F1 to enter the help file


Declare variables (click on data type:)

//声明变量第一种方式,
int number;     //在内存中开辟了一个名为number,类型为int类型的一个空间

number = 1000; //给number赋值为1000


//声明变量第2种方式,同时声明多个变量
//int num1, num2, num3;

num1 = 1000;
num2 = 2000;
num3 = 3000;


//声明变量第3种方式,直接声明并赋值
int number1 = 50;

//语法:
//数据类型名 变量名;
//变量名=值;

 

 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_43319713/article/details/107111570