- 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.
推薦閱讀
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- 人臉識別原理及算法:動態人臉識別系統研究
- Hands-On Automation Testing with Java for Beginners
- Android系統原理及開發要點詳解
- Visual Basic程序設計教程
- Spring Boot+MVC實戰指南
- Modern C++ Programming Cookbook
- 寫給程序員的Python教程
- Getting Started with Polymer
- C++從入門到精通(第6版)
- Secret Recipes of the Python Ninja
- SSH框架企業級應用實戰
- Managing Windows Servers with Chef
- 面向物聯網的Android應用開發與實踐