Danh mục

Structures

Số trang: 1      Loại file: pdf      Dung lượng: 9.93 KB      Lượt xem: 4      Lượt tải: 0    
10.10.2023

Xem trước 1 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

[ 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
Nội dung trích xuất từ tài liệu:
Structures [ Team LiB ]A.3 StructuresC# uses the struct statement along with opening and closing braces to indicate thebeginning 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 definitionsEnd StructureC# uses the colon with structures to indicate interface implementation. Any implementedinterfaces are part of the class statement. In VB, any implemented interfaces are specifiedby an Implements statement on the line immediately following the Structure statement.[ Team LiB ]

Tài liệu được xem nhiều: