The Introduce Variable refactoring helps you to simplify complicated statements in your code. For example, in the code fragment below, you can select an expression in the code:


and press &shortcut:IntroduceVariable; (Refactor | Introduce Variable...). This will result in the following: