I am confusing about reflection.can any one tell about
REFLECTION with example?
Answer / naresh ch.behera
Refelction is the mechanism of discovering class
information solely at run time.Wondering where it would be
useful
example would be an Object browser.The code attached
here,loads all assemblies and displays each class,its
contructors, methods, properties and events in tree
view.The form also hase a command botton (labeled More
Reflection) in whose click event I create an object of
MyClass1 class based on the name of the class and invoke
its methods during run time.Here is an explanation of the
code with information on various classes and methods used.
| Is This Answer Correct ? | 3 Yes | 0 No |
What are Model Binders in ASP.Net MVC?
What are Non Action methods in ASP.Net MVC?
What are delegates?where are they used
Can you use Razor code in Javascript in ASP.Net MVC?
what is the additional features in 1.1 rather than 1.0
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?
What is partialview in asp.net mvc?
What are the features that are new in .net 2.0
Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?
What is meant by tempdata in mvc?
What are the contents of assembly?
What is side by side Execution ?