Home > Backend Development > C#.Net Tutorial > What is the relationship between C# and .net?

What is the relationship between C# and .net?

清浅
Release: 2019-03-06 14:07:19
Original
19687 people have browsed it

The relationship between .NET and C# is that C# is a programming language written for .net, and its syntax is very similar to C. .net is a development framework, and the features C# that exists in .net may not necessarily exist.

Some people often confuse .net with C#, thinking that they are the same. In fact, they still have certain differences. .net is an abstract platform concept and C# is a programming language. Next, the relationship between them will be introduced in detail in the article, which has a certain reference effect. I hope it will be helpful to everyone

What is the relationship between C# and .net?

[Recommended courses: C#Tutorial

Introduction to .NET

.NET generally refers to .Net Framework is a platform created by Microsoft for developing applications. A new managed code programming model primarily for Windows that combines powerful technology with functionality to build compelling applications. In addition to the compiler, the .NET framework includes a runtime library that also includes a virtual machine CLR and an extensive class library BCL

. This means that the .NET platform includes libraries for existing code and architecture, all Applications that use it are built from these libraries. .NET is like a tool box, and the functions it provides are constantly being improved and improved. Therefore, if you use .NET to develop applications, you can develop them quickly and efficiently without writing any underlying code.

What is the relationship between C# and .net?

Introduction to C

#C# is a programming language that runs on .NET (CLR) and is used to create applications. A high-level programming language. Very similar to C language. The C# language is a programming language for the .NET environment. It is compiled into IL (an assembly language executed with the CLR) and uses classes in the BLC. ASP.NET applications can be created using Web Forms using the C# language. So C# is a language based on modern object-oriented design methods.

What is the relationship between C# and .net?

The relationship between .NET and C

#The C# language is just a programming language specifically written for .NET. In fact, most of the .NET framework is written in C#. C#'s syntax is the next evolution of the C language, so it is very similar to C's syntax. .NET is a framework, so the code referenced in the user program will not be compiled into the program, because the code in the framework introduced by the user has been compiled.

C# is just a language in itself. Although it is used to generate code for the .NET environment, it is not part of .NET itself. Some features supported by .NET are not supported by C#. Some other features supported by the C# language are not supported by .NET, such as operator overloading.

Summary: It is obvious that .NET is a framework platform, and C# is a language. But because the C# language is used together with .NET, if you want to use C# to develop applications efficiently, mastering these two knowledge is essential

The above is the detailed content of What is the relationship between C# and .net?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template