What is reflection?
Answer Posted / swapna
All .NET compilers produce metadata about the types defined
in the modules they produce. This metadata is packaged
along with the module (modules in turn are packaged
together in assemblies), and can be accessed by a mechanism
called reflection.
The System.Reflection namespace contains classes that can
be used to interrogate the types for a module/assembly.
Using reflection to access .NET metadata is very similar to
using ITypeLib/ITypeInfo to access type library data in
COM, and it is used for similar purposes - e.g. determining
data type sizes for marshaling data across
context/process/machine boundaries.
Reflection can also be used to dynamically invoke methods (
System.Type.InvokeMember ) , or even create types
dynamically at run-timeystem.Reflection.Emit.TypeBuilder).
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What is associationset? : Entity framework
What are the new features 3.5 framework against with the tool?
What is a model in android?
i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?
What is iobjectset? : Entity framework
Which version of .net framework is installed?
What is RouteConfig.cs in ASP.Net MVC 4?
What are the advantages of asp.net mvc?
What are the options can be configured in AJAX helpers?
Why is entity framework used?
My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?
Can you set the unlimited length for "maxjsonlength" property in config?
What is page life cycle?
What are the components of the .net framework.
what is model first approach?