什么是'1的意思,当我的GetType上泛型类型()。名称? [英] What does the '1 mean when I GetType().Name on a generic type?
本文介绍了什么是'1的意思,当我的GetType上泛型类型()。名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是'1的意思,当我的GetType()。在一个通用的类型名称?只是好奇...谢谢!
What does the '1 mean when I GetType().Name on a generic type? Just curious... Thanks!
推荐答案
这意味着该类型发生在1泛型类型参数。
It means that the type takes in 1 generic type argument.
如果你想知道为什么它是必要的,它是一个基于其他属性(比如需要多少类型参数)来区分基于单独的名字不同的类型,而不是。
If you're wondering why it's necessary, it's to distinguish different types based on name alone, rather than based on other attributes (like how many type arguments it takes).
这篇关于什么是'1的意思,当我的GetType上泛型类型()。名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文