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

Interfaces

1 207 0
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

Định dạng
Số trang 1
Dung lượng 9,92 KB

Nội dung

[ Team LiB ] A.4 Interfaces C# uses the interface statement along with opening and closing braces to indicate the beginning and end of an interface definition. For example: public interface IDataAdapter { // Member definitions } In VB, an interface definition is indicated by the Interface . End Interface construct: Public Interface IDataAdapter ' member definitions End Interface C# uses the colon with interfaces to specify any implemented interfaces. For example: public interface IDataReader : IDisposable, IDataRecord In VB, any implemented interfaces are specified by an Implements statement on the line immediately following the Interface statement. The previous definition of IDataReader in C# would appear as follows in VB: Public Interface IDataReader Implements IDisposable, IDataRecord [ Team LiB ] . with interfaces to specify any implemented interfaces. For example: public interface IDataReader : IDisposable, IDataRecord In VB, any implemented interfaces. [ Team LiB ] A.4 Interfaces C# uses the interface statement along with opening and closing braces

Ngày đăng: 17/10/2013, 20:15

Xem thêm

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN