What is reflection?
Answers were Sorted based on User's Feedback
Answer / janani
reflection is a collection of metadata and combination of
manifest.it can also be used to dynamically invoked method.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / 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 |
Answer / kirti
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 (see System.Type.InvokeMember ) , or even create types dynamically at run-time (see System.Reflection.Emit.TypeBuilder).
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / agrawars
Reflection is a concept of reverse engineering. The process in order to read and access mechanism of control or assembly is called reflection. It can be performed by using System.reflection namespace in .net
Top two answers can be provide after it.
Thanks.
| Is This Answer Correct ? | 3 Yes | 4 No |
What is Area in ASP.Net MVC?
Is http stateful or stateless?
what is .edmx file and what it contains?
What are the main components of .net framework?
What is objectset? : Entity framework
Is .net framework 4.8 the last version?
Explain the .net framework.
How to enable Attribute Routing?
What is work of clr?
If you change something in web.config file.Do u need to compile again?
5 Answers Broadridge, SMNetserv,
What is the use of the default route {resource}.axd/{*pathinfo} ?
Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?