What is reflection?

Answers were Sorted based on User's Feedback



What is reflection?..

Answer / kamal

Refelction is used to access assembly informations at
runtime. In .Net we can implement from System.Reflection
namespace.

Is This Answer Correct ?    5 Yes 3 No

What is reflection?..

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

What is reflection?..

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

What is reflection?..

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

What is reflection?..

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

Post New Answer

More Dot Net Framework Interview Questions

can we change the page layout in ASP.NET 2.0 as grid layout like in the previous version?

1 Answers   TCS,


Mention what is the difference between “ActionResult” and “ViewResult” ?

0 Answers  


why DotNetFramework is included in building a software

0 Answers   Infosys, Symphony,


What's the .NET class that allows the retrieval of a data element using a unique key

1 Answers  


what is msl?

0 Answers   Microsoft,






I have interview in accenture.I cleared 1st round in techniqual.I have interview with project lead.pls help me.

2 Answers   Accenture,


What is the difference between adding routes, to a webforms application and to an mvc application?

0 Answers  


Why is entity framework used?

0 Answers  


Which are the important namespaces used in ASP.Net MVC?

0 Answers  


How we can handle the exception at controller level in ASP.Net MVC?

0 Answers  


What are the main components of .net framework?

0 Answers  


What are bundling & minification features in asp.net mvc 4?

0 Answers  


Categories