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 |
Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?
What is MSIL, IL, CTS?
What does assert() method do?
1 Answers MCN Solutions, Siebel Systems,
Is it possible to unit test an mvc application without running the controllers in an asp.net process?
What is the purpose of a web form?
Is the following route definition a valid route definition? {controller}{action}/{id}
How route table has been created in asp.net mvc?
what is connection pooling
Is there built-in support for tracing/logging
Explain Sections is ASP.Net MVC?
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is the main difference between VS 2005 and VS 2003?