intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Structures

Chia sẻ: Bui Tuan | Ngày: | Loại File: PDF | Số trang:1

82
lượt xem
3
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

[ Team LiB ] A.3 Structures C# uses the struct statement along with opening and closing braces to indicate the beginning and end of a structure definition. For example, System.Windows.Forms.DataGridCell is defined in C# as follows: public struct DataGridCell

Chủ đề:
Lưu

Nội dung Text: Structures

  1. [ Team LiB ] A.3 Structures C# uses the struct statement along with opening and closing braces to indicate the beginning and end of a structure definition. For example, System.Windows.Forms.DataGridCell is defined in C# as follows: public struct DataGridCell { // Member definitions } In VB, a structure definition is indicated by the Structure... End Structure construct: Public Structure DataGridCell ' member definitions End Structure C# uses the colon with structures to indicate interface implementation. Any implemented interfaces are part of the class statement. In VB, any implemented interfaces are specified by an Implements statement on the line immediately following the Structure statement. [ Team LiB ]
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2