码迷,mamicode.com
首页 > 其他好文 > 详细

Dynamic Programming——Reflection and Generic Types

时间:2015-06-07 23:15:59      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

From the point of view of reflection, the difference between a generic type and an ordinary type is that a generic type has associated with it a set of type parameters (if it is a generic type definition) or type arguments (if it is a constructed type). A generic method differs from an ordinary method in the same way.

The problem in reflection is to provide a way to examine this array of type parameters or type arguments. In the case of type parameters, reflection must also provide a way of examining the constraints. This section describes the methods of the Type and MethodInfo classes that provide the ability to examine generic types and methods.

Dynamic Programming——Reflection and Generic Types

标签:

原文地址:http://www.cnblogs.com/johnvwan/p/4559241.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!