What is meant by Reflection?

Posted by Rajendra.prasad under Others on 5/28/2010 | Views : 2621 | Status : [Member] | Replies : 11
Hi All,
What is meant by Reflection?

Regards,
Rajendra




Responses

Posted by: Vuyiswamb on: 5/31/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Look at this
http://www.codersource.net/microsoft-net/c-basics-tutorials/c-net-tutorial-reflection.aspx

Thank you for posting at Dotnetfunda
[Administrator]

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 6/13/2012 [Member] Bronze | Points: 25

Up
0
Down
http://prosolva.org/spip/spip.php?article65

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/13/2012 [Member] Silver | Points: 25

Up
0
Down
Reflection provides objects (of type Type) that encapsulate assemblies, modules and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties.

// Using Reflection to get information from an Assembly:

System.Reflection.Assembly o = System.Reflection.Assembly.Load("mscorlib.dll");
System.Console.WriteLine(o.GetName());


Please refer MSDN http://msdn.microsoft.com/en-us/library/ms173183%28v=vs.80%29.aspx


Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/13/2012 [Member] Silver | Points: 25

Up
0
Down
Reflection Examples [C#]

http://www.csharp-examples.net/reflection-examples/


Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ravianand on: 6/14/2012 [Member] Starter | Points: 25

Up
0
Down
hi,
refer below link
http://www.programmersheaven.com/2/Dot-Net-Reflection-Part-1

Regards,
Ravi

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/14/2012 [Member] Silver | Points: 25

Up
0
Down
http://www.dotnetperls.com/reflection-field

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/14/2012 [Member] Silver | Points: 25

Up
0
Down
CodeProject http://www.codeproject.com/Articles/17269/Reflection-in-C-Tutorial

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Davidaldrich on: 6/15/2012 [Member] Starter | Points: 25

Up
0
Down
Reflection provides objects that encapsulate assemblies, modules and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties.


For more information visit at http://www.indianic.com/asp-net-web-development.html

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 6/15/2012 [Member] Starter | Points: 25

Up
0
Down
Reflection is the ability of a managed code to read its own metadata for the purpose of finding assemblies, modules and type information at runtime. In other words, reflection provides objects that encapsulate assemblies, modules and types. A program reflects on itself by extracting metadata from its assembly and using that metadata either to inform the user or to modify its own behavior. Reflection is similar to C++ RTTI (Runtime Type Information), but much broader in scope and capability. By using Reflection in C#, one is able to find out details of an object, method, and create objects and invoke methods at runtime. The System.Reflection namespace contains classes and interfaces that provide a managed view of loaded types, methods, and fields, with the ability to dynamically create and invoke types. When writing a C# code that uses reflection, the coder can use the typeof operator to get the object's type or use the GetType() method to get the type of the current instance. Here are sample codes that demonstrate the use of reflection:

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/23/2012 [Member] Silver | Points: 25

Up
0
Down
Mark as Answer if its helpful to you,that motivates...

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gaur1982 on: 7/6/2012 [Member] Starter | Points: 25

Up
0
Down
What is Reflection in .NET? : http://planetofcoders.com/reflection-net/

Gaurav Agrawal
http://www.planetofcoders.com/

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response