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 |
What is difference between machine.config and Web.Config?
4 Answers Accenture, BirlaSoft, Le Logiciel,
What is cookieless session id explain in brief?
How do I use a proxy server when invoking a web service?
What are the two properties that are common in every validation control?
How can you dynamically add user controls to a page?
What is the full meaning of asp.net?
If cookies is disabled in client browser will session work ?
How does the cookies work in asp.net?
How do you create a master page?
Is web config mandatory?
How can i include both C# and vb.net classes in same solution?
What is three major points in WCF?
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)