Instantiating a class - No overload for method 'Subjects' takes '0' arguments
<p>I have referenced a dll in a asp.net 2.0 web site developed in Visual Studio. The person who supplied the dll said to reference it and instantiate a class called Subjects.</p>

<p>I have referenced it and if I type:</p>

<pre><code>Subjects mySubjects = new Subjects();
</code></pre>

<p>it appears to be 'found' as 'Subjects' appears in light blue text.</p>

<p>If I then try to access a method by writing this:</p>

<pre><code>string ProjectSubject = mySubjects.GetSubject(ProjectID);
</code></pre>

<p>again, it seems to be 'found' in that intellisense, as soon as you type the full stop after mySubjects shows the methods available to be called.</p>

<p>So far, so good. But, when I try to run the page, I get a compile error which is:</p>

<p>No overload for method 'Subjects' takes 0 arguments.</p>

<p>I don't understand. I thought you always had to reference a class with</p>

<pre><code>someClass myClass = new someClass();
</code></pre>
