Reflection and Assemblies in .NET

The advantages of assembly in .Net over the raw executables that you create in conventional programming are that you get information about the assembly itself. The assembly contains information like version, the files that it contains the type of assembly, and other referenced assemblies.

Single modules are used in an assembly most of the time and these modules have types and these types contain the members. The types are usually classes, interfaces, etc. The members are usually variables, methods and properties.

In .Net System.Reflection is the namespace that contains the classes that are used to get information about an assembly. The Assembly class that is found in the System.Reflection root namespace is used to get this information. Hence with this class it is possible to get the types and members of an assembly.

This helps you to get information about assembly and based on that information you can even load assemblies during runtime. GetInterfaces(), GetMethods(), GetMembers(), and InvokeMethod() are some of the methods available in the class Assembly of the System.Reflection namespace.



Gram sabhas above assemblies, parliament, says Hazare
Stating that gram sabhas (village councils) were above state assemblies and parliament, activist Anna Hazare Thursday called for legislation to empower local bodies and said people should be prepared for a "second freedom struggle" if the government does not bring such a bill.

Punjab, Uttarakhand set to elect new assemblies
Punjab and Uttarakhand will vote Monday to elect new assemblies with the Congress hoping to oust the Akali Dal-Bharatiya Janata Party (BJP) combine in the country's grain bowl and the BJP in the hill state.

Optex Systems Releases Fiscal 2011 Results
RICHARDSON, Texas -- Optex Systems Holdings, Inc. , a leading manufacturer of optical sighting systems and assemblies primarily for Department of Defense applications, today announced operating results ...




______________________________________________________

Recommended Resource



| Managing .NET Assemblies | Understanding Assemblies in .NET| Reflection and Assemblies in .NET | Advantages of using ASP.NET Assemblies | Understanding Assemblies in VB.NET | Building VB.NET Assemblies |



_______________

FREE Subscription

Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.


 

| Privacy Policy for www.dotnet-guide.com | Disclosure | Contact |