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 applicatio domain?
How to use push notification?
What is server infrastructure?
How can u sort strings in array where strings are passed to method as arguments.
what is manifest?
What is full form of asp.net?
What is shadowing?
What are custom user controls in asp.net?
Define WCF ABC , Diffrent Contract. Diff b/w Wcf and in webservice
What is mvc structure? given example? How to show gridview control from business components and using class object arrays?
To load your generated dataset with data which method do you invoke?
in which protocol ASP.NET WEB API Work?