There are many factors that negatively impact the performance of a .NET Core application. Sometimes these are minor things that were not considered earlier at the time of writing the code, and are not addressed by the accepted best practices. As a result, to solve these problems, programmers often resort to ad hoc solutions. However, when bad practices are combined together, they produce performance issues. It is always better to know the best practices that help developers write cleaner code and make the application performant.
In this section, we will learn, the following topics:
- Boxing and unboxing overhead
- String concatenation
- Exceptions handling
- for versus foreach
- Delegates