Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Chương 6: Array, Collection Types, and Iterators pptx
Nội dung xem thử
Mô tả chi tiết
Hoang Anh Viet
VietHA@it-hut.edu.vn
HaNoi University of Technology
Chapter 6. Arrays, Collection
Types, and Iterators
1
Microsoft
Objectives
“This chapter covers the various array and collection types available in
C#. You can create two types of multidimensional arrays, as well as
your own collection types while utilizing collection-utility classes.
You’ll see how to define forward, reverse, and bidirectional iterators
using the new iterator syntax introduced in C# 2.0, so that your
collection types will work well with foreach statements.”
2
Microsoft
Roadmap
6.1. Introduction to Arrays
6.2. Multidimentional Rectangular Arrays
6.3. Multidimentional Jagged Arrays
6.4. Collection Types
6.5. Iterators
6.6. Collection Initializers
3
Microsoft
6.1. Introduction to Arrays
Overview
Implicitly Typed Arrays
Type Convertibility and Covariance
Arrays As Parameters (and Return Values)
The System.Array Base Class
4