What is reflection and disadvantages of reflection?
Answers were Sorted based on User's Feedback
Answer / shijas
Reflection is used for accessing assembly related
information ie, methods ,properties etc
we can dynamically invoke methods using reflection.
reflection can use for latebinding of an object.
| Is This Answer Correct ? | 28 Yes | 10 No |
Answer / anand mishra
Reflection is used to access assembly information like
methods and properties at run time. We can dynamically
invoke methods of an assembly at run time and thus
reflection is used for late binding.
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / niraj kumar
Reflection is based on RTTI that means Run Time Type
Information.Disadvantages of reflection is you don't know
method name then you can't use the gettype.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / ajanthan
it gets metadata from assemblys . but according to 2nd
answer and 3rd answer both r interrelated b'css what the
metadata will contain the information about data present in
assemblies so obviously either we can say it gets meta data
or it gets information in assemblie.
if i am wrong plz clear this dought
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / abhay
reflection is a namespace comes under System namespace that is used for devleoping applications.by reflection you can access metadata information.
* how many classes in assembly.
*what are methods and their type in assembly.
*constructor,field,event information used in classes.
| Is This Answer Correct ? | 0 Yes | 3 No |
Which data type does the rangevalidator control support?
8. Why do you want to work here?
0 Answers Global Achievers, Swatz Oils,
How to refresh a page in asp.net
How many web.config files in each solution
how can we display records in single datagrid using two datasets in different place?
2 Answers Global Computer, Honeywell,
How would you enable impersonation in the web.config file?
What is strong-typing versus weak-typing?
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
How does dataset acts in a disconnected fashion ?
How to send auto matic emails based on scheduled tasks to several of my clients
what is clr .
When Garbage Collector will run and how its identifing whether the Object is used or Not.?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)