Framework Fundamentals
The .NET Framework is an integral Microsoft Windows component designed to support
next-generation applications and services.
.NET框架是Microsoft Windows体系为了提供下一代应用和服务的必备组成部分。
Many fundamentals of the .NET Framework will be familiar to developers who have worked in other object-oriented development environments;
使用面向对象开发环境的开发人员会熟悉.NET框架的很多基本元素。
however, the .NET Framework also includes many unique elements that will be new to even the most experienced developers.
然而,.NET框剪也包含了很多对大部分有经验的开发人员所不熟悉的独有成分。
This chapter provides an overview of .NET Framework programming, including knowledge
required for every other chapter in this book.
这一章将会对.NET框架程序设计做一个概述,包括介绍其他章节所必须的部分知识。
NOTE .NET 2.0
If you have worked with versions of the .NET Framework released prior to version 2.0, much of this will be familiar.
如果你使用过2.0以前的版本,以下这些你将感到熟悉。
However, version 2.0 of the .NET Framework includes several new features:
但是,2.0版本包含很多新的特性:
generics, partial classes, and type forwarding (all described in Lesson 3, “Constructing Classes”).
泛型,分部类,和类型传递(这些全在Lesson 3《类的构成》)
Exam objectives in this chapter:
这章考试的目的:
■ Manage data in a .NET Framework application by using the .NET Framework
2.0 system types. (Refer System namespace)
通过使用.NET框架2.0系统类型在.NET框架应用程序中管理数据。(参考系统命名空间)
❑ Value types
值类型
❑ Reference types
引用
❑ Attributes
属性
❑ Generic types
泛型
❑ Exception classes
故障类
❑ Boxing and UnBoxing
装箱和拆箱
❑ TypeForwardedToAttribute Class
TypeForwardedToAttribute类
■ Implement .NET Framework interfaces to cause components to comply with
standard contracts. (Refer System namespace)
实现.NET框架接口所遵守的标准约定。(参考系统命名空间)
❑ IComparable interface
IComparable接口
❑ IDisposable interface
IDisposable接口
❑ IConvertible interface
IConvertible接口
❑ ICloneable interface
ICloneable接口
❑ IEquatable interface
IEquatable接口
❑ IFormattable interface
IFormattable接口
■ Control interactions between .NET Framework application components by
using events and delegates. (Refer System namespace)
通过事件和委派控制.NET框架应用成分间的交互。(参考系统命名空间)
❑ Delegate class
委派类
❑ EventArgs class
事件参数类
❑ EventHandler delegates
事件句柄委派