title: How to access the properties in a class from another class
body: <p>My constructor code in "FileData.cs" file:</p>
  
  <pre><code>public FileData(BatchData batch)
  {
      this._batch = batch;
  }
  </code></pre>
  
  <p>I want to access the properties from the "FileData.cs" file. So, I used the following code:</p>
  
  <pre><code>FileData fd = new FileData();
  </code></pre>
  
  <p>It shows the error message as "Constructor does not take 0 arguments". I don't know how to access the properties from the class. Provide me a solution. Thanks.</p>