什么是反射?它有什么作用? [英] what is a reflection? what purpose does it serve?

查看:79
本文介绍了什么是反射?它有什么作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是反射?我无法理解它的用途.

What exactly is a reflection? I am unable to understand the purpose it serves

推荐答案

它允许您查询代码,并与您在编译时不知道的元素进行交互.
It allows you to interrogate code, and interact with elements you did not know existed at compile time.


请参阅以下文章

C#教程中的反思 [
See following article

Reflection in C# Tutorial[^]



本文帮助您学习反思

C#教程中的反思 [ http://jeanpaulva.com/2010/12/30/generic -comparer-for-sorting-any-data-types/ [
Hi
This articles help you to learn reflection

Reflection in C# Tutorial[^]

http://jeanpaulva.com/2010/12/30/generic-comparer-for-sorting-any-data-types/[^]

Thanks
Shiju


这篇关于什么是反射?它有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆