Manning Windows Forms Programming (phần 15)

Tham khảo tài liệu 'manning windows forms programming (phần 15)', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | C keywords continued Keyword Description Example See also true As in operator in user-defined types defines the meaning of true for instances of that type. public static bool operator true MyType x Return whether MyType is true false As a literal the boolean value of true. bool isAppendix true false discussion in section page 93 try Begins a block in which exceptions may be handled depending on the attached catch clauses. Open a file FileStream fs new FileStream . try Do something with open file catch lOException ex catch finally throw section page 58 Handle caught exception finally ensure file closure typeof Obtains the object for a given type. Use the method to obtain the type instance for an expression. Type t typeof Photograph code in section page 348 uint Denotes an unsigned 32-bit integer value. Use the u or U suffix to denote an integer value as a uint type. uint apprxCircum uint radius 7u pi 314159 apprxCircum 2u pi radius 100000u ulong ushor ulong Denotes an unsigned 64-bit integer value. When using the L suffix to denote a long integer or the U suffix to denote an unsigned integer the value is considered ulong if it is beyond the range of the long or uint type respectively. ulong apprxCircum ulong radius 7L ulong pi 31415926535 apprxCircum 2 pi radius 10000000000L ulong ushort unchecked Suppresses integer overflow checking on the given statement. If an overflow occurs the result is truncated. By default all integer expressions are checked. long bigPrime 9876543211 long notSoBigNum unchecked bigPrime bigPrime checked 666 APPENDIX A C PRIMER C keywords continued Keyword Description Example See also unsafe Indicates an unmanaged region of code in which pointers are permitted and normal runtime verification is disabled. See example for stackalloc keyword. ushort Denotes an unsigned 16-bit integer value. A cast is required to convert an int or uint value to ushort. ushort apprxCircum ushort radius ushort 7

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.