C# Coding Standards
Số trang: 18
Loại file: doc
Dung lượng: 177.00 KB
Lượt xem: 10
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
C# Coding StandardsYour Company Name HereAbstract This document contains coding conventions and style guidelines that will ensure that C# code will be of consistent and superior quality. It includes general coding guidelines as well as
Nội dung trích xuất từ tài liệu:
C# Coding Standards C# Coding StandardsYour Company Name HereAbstract This document contains coding conventions and style guidelines that will ensure that C# code will be of consistent and superior quality. It includes general coding guidelines as well as discussions on naming, formatting, and language usage patterns.Contents 1. Introduction..................................................................................................................................................3 1.1 Purpose 3 1.2 Scope 3 1.3 Document Conventions 3 1.4 Feedback 3 2. C# Golden Rules...........................................................................................................................................4 3. Formatting....................................................................................................................................................5 3.1 Class Layout 5 3.2 Indicating Scope 5 3.3 Indentation & Braces 6 3.4 White space 6 3.5 Long lines of code 7 4. Commenting.................................................................................................................................................8 4.1 Intellisense Comments 8 4.2 End-Of-Line Comments 8 4.3 Single Line Comments 8 4.4 // TODO: Comments 8 4.5 C-Style Comments 8 5. Capitalization & Naming..............................................................................................................................9 5.1 Capitalization 9 5.2 Naming 9 6. Programming..............................................................................................................................................10 6.1 Namespaces 10 6.2 Classes & Structures 10 6.3 Interfaces 10 6.4 Constants 11 6.5 Enumerations 11 6.6 Variables, Fields & Parameters ...
Nội dung trích xuất từ tài liệu:
C# Coding Standards C# Coding StandardsYour Company Name HereAbstract This document contains coding conventions and style guidelines that will ensure that C# code will be of consistent and superior quality. It includes general coding guidelines as well as discussions on naming, formatting, and language usage patterns.Contents 1. Introduction..................................................................................................................................................3 1.1 Purpose 3 1.2 Scope 3 1.3 Document Conventions 3 1.4 Feedback 3 2. C# Golden Rules...........................................................................................................................................4 3. Formatting....................................................................................................................................................5 3.1 Class Layout 5 3.2 Indicating Scope 5 3.3 Indentation & Braces 6 3.4 White space 6 3.5 Long lines of code 7 4. Commenting.................................................................................................................................................8 4.1 Intellisense Comments 8 4.2 End-Of-Line Comments 8 4.3 Single Line Comments 8 4.4 // TODO: Comments 8 4.5 C-Style Comments 8 5. Capitalization & Naming..............................................................................................................................9 5.1 Capitalization 9 5.2 Naming 9 6. Programming..............................................................................................................................................10 6.1 Namespaces 10 6.2 Classes & Structures 10 6.3 Interfaces 10 6.4 Constants 11 6.5 Enumerations 11 6.6 Variables, Fields & Parameters ...
Tìm kiếm theo từ khóa liên quan:
thủ thuật máy tính công nghệ thông tin tin học quản trị mạng computer networkTài liệu liên quan:
-
52 trang 434 1 0
-
24 trang 360 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 321 0 0 -
Làm việc với Read Only Domain Controllers
20 trang 312 0 0 -
74 trang 304 0 0
-
96 trang 299 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 293 0 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 286 0 0 -
EBay - Internet và câu chuyện thần kỳ: Phần 1
143 trang 277 0 0 -
Tài liệu hướng dẫn sử dụng thư điện tử tài nguyên và môi trường
72 trang 270 0 0