你的位置: 码友网首页 / 资讯源列表 / What’s the maximum number of generic parameters for a class in .NET/C#?

关于[What’s the maximum number of generic parameters for a class in .NET/C#?]的摘要:

Pretty stupid question, right? Because if it’s more than, say, 20 or 100, it’s enough. But still. Where is the limit? We can look at this in, at least, two ways. First is obviously what the runtime is willing to load and the other is what Roslyn is able to compile. And there’s a good chance, that these two limits are the same.

原文地址: https://www.tabsoverspaces.com/233802-whats-the-maximum-number-of-generic-parameters-for-a-class-in-net-csharp

收录时间: 2019-10-05 浏览量: 1208 分类: C#开发

| 0 收藏 | 0