Home  >  Article  >  Backend Development  >  Are c# and .net the same thing? The differences and connections between C# and .NET

Are c# and .net the same thing? The differences and connections between C# and .NET

PHPz
PHPzOriginal
2017-04-03 11:52:543738browse

Are c# and .net the same thing? Of course not, let’s look at the difference between C# and .NET

Introduction to C# and .NET Framewoek:
C# is released by Microsoft An object-oriented (modularizing the functions in the program, each module is isolated and provides specific functions), a high-level programming language running on .NET FrameWork. It has many similarities with Java (such as single inheritance, interfaces, almost the same syntax as Java and the process of compiling into an intermediate language and running it), but it is significantly different from Java. It is directly integrated with COM (Component Object Model) of.
.NET Framework is the new managed code programming model for Windows. It combines powerful features with new technologies for building applications with visually compelling user experiences, enabling seamless communication across technology boundaries, and supporting a variety of business processes.
A simple .NET framework
Are c# and .net the same thing? The differences and connections between C# and .NET
Courseware .NET's common language runtime consists of a base class library and a library composed of compiled code
Both C# and .NET Connections:
The importance of C# is reflected in the following two aspects:
● It is specifically designed for use with Microsoft's .NET Framework. (.NET Framework is a very feature-rich platform for developing, deploying, and executing distributed applications).
● It is a language based on modern object-oriented design methods. When designing it, Microsoft also learned from the experience of other similar languages. These languages ​​​​were developed after object-oriented rules were widely used in the past 20 years.
There is a very important issue to understand: 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)!

However, because the C# language is used together with .NET, it is very important to understand the Framework if you want to use C# to develop applications efficiently.

The above is the detailed content of Are c# and .net the same thing? The differences and connections between C# and .NET. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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