GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 140 of 164    Print  
What are the uses of Reflection?
1. Viewing Metadata.
2.Performing type discovery.
3.Late binding to methods and properties (dynamic invocation)
4.Creating new types at runtime(Reflection EMIT)



  
Total Answers and Comments: 4 Last Update: September 10, 2009     Asked by: RadMac 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 12, 2007 11:33:26   #1  
kapil_deo Member Since: December 2007   Contribution: 2    

RE: What are the uses of Reflection?
Reflection is used for the late binding of an object in .Net. By using Reflection one can use the COM components and create the Objects of them at Runtime. It invokes the Methods Properties etc of that COM Object.
 
Is this answer useful? Yes | No
March 05, 2008 07:06:39   #2  
satishnandigam Member Since: November 2007   Contribution: 1    

RE: What are the uses of Reflection?
how about default serialization of objects ?

how about the databinding of classes to display objects ?

by being able to get the description of an object one can do many things ...

 
Is this answer useful? Yes | No
March 07, 2008 03:48:59   #3  
ratneshverma Member Since: March 2008   Contribution: 1    

RE: What are the uses of Reflection?
Calling Assemblies at runtime
 
Is this answer useful? Yes | No
September 10, 2009 06:04:20   #4  
kirangiet Member Since: June 2009   Contribution: 24    

RE: What are the uses of Reflection?
Reflection is a concept using which we can

1) Load assemblies dynamically
2) Invoke methods at runtime
3) Retriving type information at runtime.

We are using reflection in Unit Testing for testing Private methods.
Infact our friend Mr. Intellisence of MS.NET internally using reflection only. That is the reason we are getting only type specific methods and properties in Intellisence.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape