. NETFramework Class Library

Source: Internet
Author: User


The. NET Framework includes classes, interfaces, and value types that can speed up and optimize the development process and provide access to system functionality. To facilitate interoperability between languages, most. NET Framework types are CLS-compliant and can be used in any programming language in which the compiler conforms to the Common Language Specification (CLS).
. NET Framework types are the basis for building. NET applications, components, and controls. The types that are included in the. NET Framework can perform the following functions:
Represents the underlying data type and exception. Encapsulates the data structure. Perform I/O. Access information about the load type. Call the. NET Framework security check. Provides a client GUI for data access, multi-client GUI, and server control. The. NET Framework provides a rich set of interfaces, as well as abstract classes and concrete (non-abstract) classes. You can use these specific classes as-is, or in most cases derive your own classes from those classes. To use the functionality of an interface, you can either create a class that implements an interface or derive a class from a. NET Framework class that implements an interface.
Naming conventions
The. NET Framework type uses point syntax naming schemes, which imply the meaning of hierarchies. This technique divides the related types into different namespace groups so that they can be searched and referenced more easily. The first part of the full name (the content before the rightmost point) is the namespace name. The last part of the full name is the type name. For example, System.Collections.ArrayList represents the ArrayList type, which belongs to the System.Collections namespace. The types in System.Collections can be used to manipulate object collections.
This naming scheme makes it easy for library developers who extend the. NET Framework to create hierarchical type groups and name them in a consistent, prompt manner. It also allows you to explicitly identify types with full names (that is, namespaces and type names), which prevents type names from conflicting. Library developers should use the following guidelines when creating names for namespaces:
"Company Name" technical name "
For example, the Microsoft.word namespace conforms to this principle.
Using a naming scheme to group related types into namespaces is a very useful way to generate and record class libraries. However, this naming scheme is not valid for visibility, member access, inheritance, security, or binding. A namespace can be divided into multiple assemblies, and a single assembly can contain types from multiple namespaces. Assemblies provide a form factor for version control, deployment, security, load, and visibility in the common language runtime.

Noaping Station http://user.qzone.qq.com/1851936413
Phoenix Platform http://user.qzone.qq.com/1304350045

. NETFramework Class Library

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.