c# – 什么是集合类型名称中的1

c# – 什么是集合类型名称中的1,第1张

概述我想知道收藏类型名称中的“1”是什么意思?例如:List’1,IList’1有人知道是什么吗? 反驳表示: The name of a generic type ends with a backtick (`) followed by digits representing the number of generic type arguments. The purpose of this name 我想知道收藏类型名称中的“1”是什么意思?例如:List’1,IList’1有人知道是什么吗?解决方法 反驳表示:

The name of a generic type ends with a backtick (`) followed by digits
representing the number of generic type arguments. The purpose of this
name mangling is to allow compilers to support generic types with the
same name but with different numbers of type parameters,occurring in
the same scope.

http://msdn.microsoft.com/en-us/library/w3f99sx1(v=vs.110).aspx

总结

以上是内存溢出为你收集整理的c# – 什么是集合类型名称中的1全部内容,希望文章能够帮你解决c# – 什么是集合类型名称中的1所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/langs/1235967.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-06
下一篇2022-06-06

发表评论

登录后才能评论

评论列表(0条)

    保存