title: How can I get the "Light bulb" refactoring tool in visual studio to use explicit types and not var?
body: <p>When I use the light bulb refactor built into Visual Studio to generate a local variable it always uses the <code>var</code> syntax:</p>
  
  <p><a href="https://i.stack.imgur.com/kZHd0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kZHd0.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/pSKZW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pSKZW.png" alt="enter image description here"></a></p>
  
  <p>I (personally) don't like <code>var</code> and would prefer to  it to use an explicit type (in this instance <code>double</code>). so it should create the code:</p>
  
  <pre><code>double v = CalculateDownTime(lineid, start, end);
  </code></pre>
  
  <p>How can I alter the Visual Studio settings so that it will do this? Is it possible?</p>
  
  <p>Please don't discuss the pros and cons of <code>var</code> vs explicit types. And no I don't want to use Resharper.</p>