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 is namespace?
What is JIT and how is works ?
What is meant by bootstrap in mvc5?
If you change something in web.config file.Do u need to compile again?
5 Answers Broadridge, SMNetserv,
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
What is global assembly cache
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
Which is the default http method for an action method?
What are the options can be configured in AJAX helpers?
What is the difference between STA and MTA?
Explain the methods used to render the views in mvc?
What is the main difference between VS 2005 and VS 2003?