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 |
How to create an alias name for a namespace?
What is Reflection in .NET?
When i am using Ajax controls (updatepanel),Is page events all are executed or only some events are executed?which page events are executed?
How does the .net framework 3.0 relate to the .net framework 2.0?
what is explicit loading?
How does assembly versioning work?
Explain the methods used to render the views in mvc?
what are the different stepts to create shared assemblies?
How does servicing work for the .net framework 3.0?
Mention two instances where routing is not implemented or required?
What does CLR do as soon as an assembly is created ?
What are Action Filters in ASP.NET MVC and its use?