1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Structures ppt

1 225 0
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề A.3 Structures
Tác giả Team Lib
Thể loại presentation
Định dạng
Số trang 1
Dung lượng 9,93 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

L 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.

Trang 1

L 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 |

Ngày đăng: 24/12/2013, 05:15

TỪ KHÓA LIÊN QUAN

w