Thuộc tính nên được sử dụng thay vì Get / Set phương pháp
trong hầu hết các tình huống. Phương pháp này là thích hợp hơn để tính
trong các trường hợp sau đây: hoạt động là một chuyển đổi,
là đắt tiền hoặc có một tác dụng phụ có thể quan sát; các
thứ tự thực hiện là rất quan trọng; kêu gọi các thành viên
hai lần liên tiếp tạo ra kết quả khác nhau; một thành viên
là tĩnh nhưng trả về một giá trị có thể thay đổi; hoặc các thành viên
trả về một mảng
đang được dịch, vui lòng đợi..