当前位置:网站首页>C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
2022-07-06 09:40:00 【Ordinary overtime dog】
List of articles
List of articles
- List of articles
- On
- Why can computers recognize our code
- first C# Program
- newly build C# Procedure flow
- Be careful C# It's strictly case sensitive
- Meaning of class library
- How to compile ( No development tools )
- Answering question
- Using development software is to improve development efficiency
- Version information ( understand )
- Add reference ( important )
- Namespace
- Summary
On

Specific catalogue 
Why can computers recognize our code

first C# Program
newly build C# Procedure flow
If we want to make a name called QQ Project
The first step is to create a new folder 

The suffix can also be left unchanged , The most important thing is the content in the document
Be careful C# It's strictly case sensitive


Meaning of class library
It's the code written by others for us , We just need to call 
Comments do not participate in the compilation of code 
The main method is the entry to the program
How to compile ( No development tools )



After writing, press enter 
Human recognizable become Computers can recognize
There is only a compilation process in the middle
Answering question


Pay attention to recompile the changed code , Re execution , If you don't recompile , The original code is still executed
Compile again 
Using development software is to improve development efficiency


One solution can put multiple projects 
Try to choose the latest Framework version when learning
But when it comes to specific applications , It's related to the server , Try to use whatever version of your server is used , In this way, there is no need to rent new servers
The version can also be changed

Version information ( understand )

In fact, it is version information
That is, when we open the properties of a file , Information displayed , Just get to know , Generally, there is no need to change 
Add reference ( important )
Adding a reference is adding a piece of code written by others , Or general code
This can be used in our project 
Namespace
To avoid duplicate names , Follow java The concept of the package inside is similar
If the role is not easy to understand , It can be understood that a namespace is a folder 

Just to avoid that 
When copying someone else's code , You often need to change the name of the namespace , Change to our own namespace
Summary
C#(Java) Object oriented high level language
Microsoft 2000 year 6 month
VB Delphi C++
1、 performance C++ C The pointer ( Various anomalies )
2、 Cost performance ( have access to 、 Lower development cost ) Short development cycle
All development languages , Purpose : Communicate with the computer
Visual Studio 2019
Microsoft SQL Server Management Studio 18
Distribution environment :1、 development environment 2、 Running environment
ios Android windows
C# Basic grammar
xp win98 win95
windows from win7 Install by default in the future .net framework
A set of class libraries ( Written code )
Why can computers recognize that we write code ?
( Interlingua ) assembly language 16 Base number
0 1 Binary system
csc.exe compiler
.txt
.cs Class file
Keywords are strictly case sensitive
class QQ{
The main method is the entry to the program ( Case sensitive )
}
using Introduce namespace ( Introduce someone else's project code )
// annotation : After writing anything, it does not participate in compilation
To compile the first > perform
First step : Find the compiler directory
C:\Users\MI>cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
The second step : Compile code
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>csc.exe /out:d:\qq.exe d:\qq\qq.txt
Console Test class ( Real development doesn't necessarily work )
Console.WriteLine(" Hello ");// Output printing
Console.ReadLine();// Accept user input
边栏推荐
- Global and Chinese markets for hardware based encryption 2022-2028: Research Report on technology, participants, trends, market size and share
- Kratos战神微服务框架(一)
- May brush question 27 - figure
- Research and implementation of hospital management inpatient system based on b/s (attached: source code paper SQL file)
- Global and Chinese market of capacitive displacement sensors 2022-2028: Research Report on technology, participants, trends, market size and share
- Master slave replication of redis
- Leetcode:608 树节点
- Minio distributed file storage cluster for full stack development
- 《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
- Global and Chinese markets for modular storage area network (SAN) solutions 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

Hard core! One configuration center for 8 classes!

tn-c为何不可用2p断路器?

听哥一句劝,按这套嵌入式的课程内容和课程体系去学习

小白带你重游Spark生态圈!

Redis之持久化实操(Linux版)

Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)

Blue Bridge Cup_ Single chip microcomputer_ Measure the frequency of 555

Mapreduce实例(五):二次排序

一大波开源小抄来袭

Cap theory
随机推荐
Redis geospatial
Mapreduce实例(五):二次排序
Mapreduce实例(八):Map端join
Redis之主从复制
发生OOM了,你知道是什么原因吗,又该怎么解决呢?
MapReduce instance (VIII): Map end join
Mapreduce实例(十):ChainMapReduce
[deep learning] semantic segmentation: paper reading: (2021-12) mask2former
Mapreduce实例(六):倒排索引
Activiti7工作流的使用
五月刷题02——字符串
Redis之核心配置
五月刷题27——图
June brush question 01 - array
QML type: overlay
May brush question 02 - string
大学想要选择学习自动化专业,可以看什么书去提前了解?
Oom happened. Do you know the reason and how to solve it?
有软件负载均衡,也有硬件负载均衡,选择哪个?
018.有效的回文