Chapter 4. Making Your Code Better
So far, we have learned how ReSharper can help you write code and improve navigation around your project. In this chapter, we will focus on one of the most notable ReSharper features—code analysis.
In this chapter, we will cover the following topics:
- Code quality analysis
- Eliminating errors and code smells
Code quality analysis
The fact that you can compile your code does not mean your code is good. It does not even mean it will work. There are many things that can easily break your code. A good example is an unhandled NullReferenceException
. You will be able to compile your code and you will be able to run your application, but there will be a problem.
ReSharper v8 comes with more than 1400 code analysis rules and ...
Get ReSharper Essentials 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.