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 Reference type and value type
About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
6 Answers Infosys, Microsoft, MMTS,
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
What is page life cycle?
Explain the difference between Viewbag and Viewdata in ASP.NET MVC?
Is .net framework going away?
What is meant by domain model?
what is eager loading?
How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?
Why to use Html.Partial in ASP.Net MVC?
what is .edmx file and what it contains?
Changes to which portion of version number indicates an incompatible change