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 validation in asp.net?
When a dropdownlist has been added by some records and it has been binded why it is not executing i'm facing this error pls help me ? if (is!pageposback) { arraylist books = new arraylist; books.add ("gone with the wind"); books.add ("rahulsriramprakash"); books.add ("vishal"); dropdowndisplay.datasource=books; dropdowndisplay.databind(); } The error is : 1) The dropdowndisplay does not exist.
Define secured sockets layer.
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
How do you relate an aspx page with its code behind Page?
Define a multilingual website?
Which is better viewstate or session?
For Web services where you can browse on the Internet?
How you can access the properties and controls of master pages from content pages?
How Response.flush works in server.Execute
Can we have 2 web config files?
How do we ensure view state has not tampered?