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 |
can I use session variable in App_code Class page??
What is http post and http get?
What are server objects?
What is inproc and outproc?
When is an object collected by the Garbage Collector? [Four options were given]
What is a 404 redirect?
What can you do with asp.net?
Is it possible to use two versions of assembly at the same time?If possible explain with code?
What is the difference between sealed vs static class?
What are the asp.net objects? is it application obects, cache objests etc. or is it state managements, web services etc?
How do we invoke queries from the application?
Difference between mvc2 and mvc3 in asp.net?
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)