Module 13: Properties and Indexers

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

0
57
lượt xem
11
download

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ủ đề:
Lưu

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

Đồng bộ tài khoản