Posts

Showing posts from March, 2015

ASSEMBLY IN .NET

Image
Today in Engineer's World, we are discussinga very important topic of C# in very easy way. Posted By- +Manish Kumar Gautam+LIVE VIAR+ASP.NET SOLUTIONS
Click imagination hunt to see latest Blogs
Previous – Usages of .NET Namespaces
Assembly
An Assembly is a versionable unit of deployment of the .NET framework. Assemblies are the means of packaging and deploying applications and components in .NET. Assemblies can be made up of either single or multiple files. An assembly contains metadata information, which is used by the CLR for everything from type checking and security to actually invoking the components methods.


An assembly performs the following functions:
1. Assembly contains code that at run-time executes. MSIL code in a portable executable (PE) file will not be executed if it does not have an associated assembly manifest. Note that each assembly can have only one entry point.
2. Assembly forms a security boundary. An assembly contains several important pieces of information that …

How and Why .NET Namespace used?

Image
Today in Engineer's World, we are discussinga very important topic of C# - Namespaces in very easy way. Posted By- +Manish Kumar Gautam+LIVE VIAR+ASP.NET SOLUTIONS
Click imagination hunt to see latest Blogs
Previous - Common Language Runtime (CLR)
What is Namespace in C#?
A Namespace is collection of classes with related type contained in an assembly file. NET Framework provides namespaces with classes that can be used to code in various tasks. The .NET Framework class library can help you implement many tasks, including accessing databases, creating graphics, XML processing, networking, messaging, security, and directory services. Some commonly used namespaces during our initial start-up are listed below:
When referencing a class, one should specify either its fully qualified name, which means namespace followed by the class name, or add a using statement. This, eliminates the need to mention the complete name of all classes in that namespace.
/*You can write like this.*/ System.Conso…