你的位置: 码友网首页 / 资讯源列表 / Conversation about the .NET type system

关于[Conversation about the .NET type system]的摘要:

The .NET or Common Language Runtime (CLR) type system is the foundation of the .NET programming model. We often talk about System.Object being the base of the type system, but it’s really the base of all (reference) types. The type system is (at least) one step lower than that. It defines that both reference and value types exist, that strings are immutable, that single-inheritence is allowed and multiple-inheritence is not, and that generics are a runtime concept. On the other hand, it doesn’t define concepts like IEnumerable, IDisposable, or Task, but it enables those Ts to exist. You can quickly see that the type system is one of the most pervasive concepts in .NET.

原文地址: https://devblogs.microsoft.com/dotnet/conversation-about-the-net-type-system/

收录时间: 2021-06-04 浏览量: 739 分类: .NET

| 0 收藏 | 0