To inline a variable
  1. In the editor, place the caret at the name of the variable.
  2. On the ReSharper menu or context menu, choose Refactor | Inline, or press Ctrl+Alt+N. The variable will be inlined immediately.