17

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 ...

Get Software Architecture with C# 9 and .NET 5 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.