Showing posts with label Component. Show all posts
Showing posts with label Component. Show all posts

C# Components

Namespace and Assemblies

The first line of the “Hello, C# World!” program was this:

using System;

This line adds a reference to the System namespace to the program. After adding a reference to a namespace, you can access any member of the namespace. As mentioned, in .NET library references documentation, each class belongs to a namespace. But what exactly is a namespace?

To define .NET classes in a category so they’d be easy to recognize, Microsoft used the C++ class-packaging concept know as namespaces. A namespace is simply a grouping of related classes. The root of all namespaces is the System namespace. If you see namespaces in the .NET library, each class is defined in a group of similar category. For example, The System.Data namespace only possesses data-related classes, and System.Multithreading contains only multithreading classes. LEARN MORE>>>

HTML - Inserting Components

Graphics are a very important part of any webpage. Apart from using images to illustrate certain points, clever use of images also makes our webpages more attractive and readable. But there is a disadvantage in having too many images in the page. Since the storage space that an image occupies is very high compared to text, a browser takes a vaery long time to display an image on the screen. Therefore, the more the number of images in a page, the longer it takes to download it from the server. We must therefore make judicious use of images in our webpages.
You can use two types of images in webpages - JPG nad GIF. JPG is an extension name for an image file that is created using Joint Photographic Experts Group format. GIF is the extension name for an image file that is created using the Graphics Interchange FormatLEARN MORE>>