How to access the properties in a class from another class

Deerservitike

New Member
My constructor code in "FileData.cs" file:\[code\]public FileData(BatchData batch){ this._batch = batch;}\[/code\]I want to access the properties from the "FileData.cs" file. So, I used the following code:\[code\]FileData fd = new FileData();\[/code\]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.
 
Back
Top