Module 9: Creating and Destroying Objects

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

0
73
lượt xem
18
download

Module 9: Creating and Destroying Objects

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

This module provides students with the theory and syntax for creating and destroying objects in a C# application. After completing this module, students will be able to: Create objects by using the new operator. Use constructors to initialize objects. Create overloaded constructors that can accept varying parameters. Describe the lifetime of an object and what happens when it is destroyed. Create destructors. Inherit from IDisposable interface and implement Dispose method.

Chủ đề:
Lưu

Nội dung Text: Module 9: Creating and Destroying Objects

Đồng bộ tài khoản