-
Notifications
You must be signed in to change notification settings - Fork 6k
Replace .NET Framework with .NET where applicable #20025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ba1849d
033c81e
4929a43
6fd4301
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| --- | ||
| title: "Introduction to the C# Language and the .NET Framework" | ||
| title: "Introduction to the C# Language and .NET" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This article needs to be reviewed carefully to make sure the information provided in it are not .NET Framework-specific. Then it may be worth renaming the file and adding a redirection. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @BillWagner This is an ancient intro to C#. My inclination is to retire it and redirect to the new Tour of C#. What do you think? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that's on my plan for part of this release cycle (probably next month). |
||
| description: Learn the basics of C# and .NET. Get an overview of the C# language and .NET ecosystem. | ||
| ms.date: 07/20/2015 | ||
| helpviewer_keywords: | ||
| - "C# language, about C# language" | ||
| - "Visual C#, about" | ||
| ms.assetid: 0a2dff4e-cd84-42ff-8141-e89889b24081 | ||
| --- | ||
| # Introduction to the C# language and .NET Framework | ||
| # Introduction to the C# language and .NET | ||
|
|
||
| C# is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run in the .NET ecosystem. The .NET ecosystem is composed of all the implementations of .NET, including both but not limited to [.NET Core](../../core/introduction.md), and [.NET Framework](../../framework/index.yml). This article focuses on .NET Framework. You can use C# to create Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much, much more. | ||
|
|
||
|
|
@@ -38,19 +38,19 @@ The following are additional C# resources: | |
| - For detailed information about specific aspects of the C# language, see the [C# Reference](../language-reference/index.md). | ||
| - For more information about LINQ, see [LINQ (Language-Integrated Query)](../programming-guide/concepts/linq/index.md). | ||
|
|
||
| ## .NET Framework Platform Architecture | ||
| ## .NET Platform Architecture | ||
|
|
||
| C# programs run on the .NET Framework, an integral component of Windows that includes a virtual execution system called the common language runtime (CLR) and a unified set of class libraries. The CLR is the commercial implementation by Microsoft of the common language infrastructure (CLI), an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly. | ||
| C# programs run on .NET, an integral component of Windows that includes a virtual execution system called the common language runtime (CLR) and a unified set of class libraries. The CLR is the commercial implementation by Microsoft of the common language infrastructure (CLI), an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly. | ||
|
|
||
| Source code written in C# is compiled into an [intermediate language (IL)](../../standard/managed-code.md) that conforms to the CLI specification. The IL code and resources, such as bitmaps and strings, are stored on disk in an executable file called an assembly, typically with an extension of .exe or .dll. An assembly contains a manifest that provides information about the assembly's types, version, culture, and security requirements. | ||
|
|
||
| When the C# program is executed, the assembly is loaded into the CLR, which might take various actions based on the information in the manifest. Then, if the security requirements are met, the CLR performs Just-In-Time (JIT) compilation to convert the IL code to native machine instructions. The CLR also provides other services related to automatic garbage collection, exception handling, and resource management. Code that's executed by the CLR is sometimes referred to as "managed code", in contrast to "unmanaged code", which is compiled into native machine language that targets a specific system. The following diagram illustrates the compile-time and run-time relationships of C# source code files, the .NET Framework class libraries, assemblies, and the CLR. | ||
| When the C# program is executed, the assembly is loaded into the CLR, which might take various actions based on the information in the manifest. Then, if the security requirements are met, the CLR performs Just-In-Time (JIT) compilation to convert the IL code to native machine instructions. The CLR also provides other services related to automatic garbage collection, exception handling, and resource management. Code that's executed by the CLR is sometimes referred to as "managed code", in contrast to "unmanaged code", which is compiled into native machine language that targets a specific system. The following diagram illustrates the compile-time and run-time relationships of C# source code files, the .NET class library, assemblies, and the CLR. | ||
|
|
||
|  | ||
|
|
||
| Language interoperability is a key feature of the .NET Framework. Because the IL code produced by the C# compiler conforms to the Common Type Specification (CTS), IL code generated from C# can interact with code that was generated from the .NET versions of Visual Basic, Visual C++, or any of more than 20 other CTS-compliant languages. A single assembly may contain multiple modules written in different .NET languages, and the types can reference each other as if they were written in the same language. | ||
| Language interoperability is a key feature of .NET. Because the IL code produced by the C# compiler conforms to the Common Type Specification (CTS), IL code generated from C# can interact with code that was generated from the .NET versions of Visual Basic, Visual C++, or any of more than 20 other CTS-compliant languages. A single assembly may contain multiple modules written in different .NET languages, and the types can reference each other as if they were written in the same language. | ||
|
|
||
| In addition to the run time services, the .NET Framework also includes an extensive library of over 4000 classes organized into namespaces that provide a wide variety of useful functionality for everything from file input and output to string manipulation to XML parsing, to Windows Forms controls. The typical C# application uses the .NET Framework class library extensively to handle common "plumbing" chores. | ||
| In addition to the run time services, .NET also includes an extensive library of over 4000 classes organized into namespaces that provide a wide variety of useful functionality for everything from file input and output to string manipulation to XML parsing, to Windows Forms controls. The typical C# application uses the .NET class library extensively to handle common "plumbing" chores. | ||
|
|
||
| For more information about the .NET Framework, see [Overview of the Microsoft .NET Framework](../../framework/get-started/overview.md). | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.