Skip to Content
C# 12 核心要点
book

C# 12 核心要点

by Joseph Albahari
May 2025
Intermediate to advanced
1086 pages
14h 54m
Chinese
O'Reilly Media, Inc.
Content preview from C# 12 核心要点

第 5 章 . NET 概述

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

.NET 8 运行时的几乎所有功能都是通过大量的托管类型集来实现的。这些类型被组织成层次分明的命名空间,并打包成一组程序集。

一些 .NET 类型由 CLR 直接使用,对于托管环境至关重要。这些类型位于一个名为System.Private.CoreLib.dll的程序集.NET Framework 中为mscorlib.dll)中,包括 C# 的内置类型、基本集合类以及用于流处理、序列化、反射、线程和本地互操作性的类型。

在此之上,还有其他类型 "充实 "了 CLR 级功能,提供了 XML、JSON、Network 和语言集成查询等功能。这些构成了基类库(BCL)。在此之上是应用层,为开发特定类型的应用程序(如 Web 或富客户端)提供 API。

在本章中,我们将提供以下内容:

  • BCL 概述(我们将在本书的其余部分进行介绍)

  • 应用层高级摘要

运行时目标和 TFM

在项目文件中,<TargetFramework> 元素决定了项目是根据哪个运行时构建的( ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

C# 12 in a Nutshell

C# 12 in a Nutshell

Joseph Albahari
Programming C# 12

Programming C# 12

Ian Griffiths
C# 6 for Programmers, Sixth Edition

C# 6 for Programmers, Sixth Edition

Paul Deitel, Harvey Deitel

Publisher Resources

ISBN: 9798341657038