TAILIEUCHUNG - General Considerations

[ Team LiB ] General Considerations The most evident difference between C# and Visual Basic (VB) syntax is that C# uses the semicolon (;) as a statement terminator, whereas VB uses a line break. As a result, a statement in C# can occupy multiple lines as long as it is terminated with a semicolon | Team LiB General Considerations The most evident difference between C and Visual Basic VB syntax is that C uses the semicolon as a statement terminator whereas VB uses a line break. As a result a statement in C can occupy multiple lines as long as it is terminated with a semicolon. A VB statement must occupy only a single line. Multiline statements in VB must appear with the VB line continuation character a space followed by an underscore on all but the last line. A second and not quite so evident difference is that C is case sensitive whereas VB isn t. Uniform case use for VB code is enforced by the Visual Studio environment but it is by no means required. Finally all types and their members have access modifiers that determine the type or member s accessibility. The keywords for these access modifiers are nearly identical in VB and C as Table A-1 shows. Table A-1. Access modifiers in C and VB C keyword VB keyword public Public private Private protected Protected internal Friend protected internal Protected Friend Team LiB

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.