Inverting if statements and early returns are two techniques that can be applied that can improve your codebase.
When used properly it can reduce indentation and complexity.
links in video:
https://refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html
https://www.jetbrains.com/help/resharper/InvertIf.html
Be sure to subscribe for more videos like this!