- C# and .NET Core Test Driven Development
- Ayobami Adewole
- 85字
- 2021-06-25 22:00:28
C# coding conventions
Using the guidelines in C# coding conventions facilitates the mastery of writing clean, readable, easy to modify, and maintainable code. Use variable names that are descriptive and represent what they are used for, as shown in the following code:
int accountNumber;
string firstName;
Also, having more than one statement or declaration on a line clogs readability. Comments should be on a new line and not at the end of the code. You can read more about C# coding conventions at: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions.
推薦閱讀
- Learning LibGDX Game Development(Second Edition)
- 數(shù)據(jù)庫程序員面試筆試真題與解析
- Three.js開發(fā)指南:基于WebGL和HTML5在網(wǎng)頁上渲染3D圖形和動(dòng)畫(原書第3版)
- Designing Hyper-V Solutions
- Visual Basic程序設(shè)計(jì)與應(yīng)用實(shí)踐教程
- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Symfony2 Essentials
- 前端HTML+CSS修煉之道(視頻同步+直播)
- 低代碼平臺(tái)開發(fā)實(shí)踐:基于React
- 持續(xù)輕量級(jí)Java EE開發(fā):編寫可測(cè)試的代碼
- Quantum Computing and Blockchain in Business
- Machine Learning With Go
- Java程序設(shè)計(jì)實(shí)用教程(第2版)
- Python趣味創(chuàng)意編程
- 網(wǎng)絡(luò)綜合布線與組網(wǎng)實(shí)戰(zhàn)指南