title: How to put a big selection of files into a namespace in Visual Studio?
body: <p>I have a few hundred classes, which do not belong to any namespace yet. I would like to select them and put them all into a new namespace. Is there any semi-automated way of doing this in Visual Studio or with the help of a tool like Resharper?</p>
  
  <p>It must work in a way that lets me select the files to put into the namespace, because not all of them should change. Best would be to just select the ones I need in the project and hitting some macro action to add the namespace declaration to the selected files.</p>
  
  <p>Currently I've started opening up the files individually, selecting the class definition and hitting CTRL+K+S to surround with namespace, but this might take a few days.</p>