Module 13: Properties and Indexers

Chia sẻ: Vu Thuong | Ngày: | Loại File: PDF | Số trang:50

lượt xem

Module 13: Properties and Indexers

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

The obvious common feature of properties and indexers is that they both use get and set accessor syntax. This module does not cover the more advanced aspects of properties and indexers, such as their use in interfaces or their use with virtual, abstract, override, and new modifiers. After completing this module, students will be able to: Create properties to encapsulate data within a class. Define indexers to use objects with array-like notation.

Chủ đề:

Nội dung Text: Module 13: Properties and Indexers

Đồng bộ tài khoản