title: C# constructor design
body: <p>I have a class which you pass in a folder and then it goes off and processes a lot of data within the specified folder.</p>
  
  <p>For instance:</p>
  
  <pre><code>MyClass myClass = new MyClass(@"C:\temp");
  </code></pre>
  
  <p>Now it goes off and reads say a couple of thousand files and populates the class with data.</p>
  
  <p>Should I move this data out from the constructor and have it as a separate method, such as the following?</p>
  
  <pre><code>MyClass myClass = new MyClass();
  myClass.LoadFromDirectory(@"C:\temp");
  </code></pre>