title: Encapsulate several field at once in Visual Studio 2010
body: <p>In visual studio you can set accessors by using the <a href="http://msdn.microsoft.com/en-us/library/a5adyhe9.aspx" rel="nofollow noreferrer">encapsulate field</a> refactoring operation on a declaration (Ctrl + E,R shortcut).</p>
  
  <p>Is it possible to generate (using the default settings) the accessors of several field at once ?</p>
  
  <p>Having :</p>
  
  <pre><code>private int one;
  private int two;
  //etc
  </code></pre>
  
  <p>and generating :</p>
  
  <pre><code>public int One
  {
      get { return one; }
      set { one = value; }
  }
  
  public int Two
  {
      get { return two; }
      set { two = value; }
  }
  
  //etc
  </code></pre>
  
  <p>without selecting each declaration.</p>