Best Practices in Coding C# 9
When you act as a software architect on a project, it is your responsibility to define and/or maintain a coding standard that will direct the team to program according to the expectations of the company. This chapter covers some of the best practices in coding that will help developers like you program safe, simple, and maintainable software. It also includes tips and tricks for coding in C#.
The following topics will be covered in this chapter:
- How the complexity of your code can affect performance
- The importance of using a version control system
- Writing safe code in C#
- .NET core tips and tricks for coding
- Book use case – DOs and DON'Ts in writing code
C# 9 was launched together with .NET 5. However, the practices presented here can be used in many versions of .NET, but they refer to the basics of programming C#.