Why does this does not create a default constructor?
<p>I am wondering why this throws an exception (at execution time):</p>

<pre><code>IAgentIndicator iai = (IAgentIndicator)Activator.CreateInstance(agentIndicatorType);
</code></pre>

<p>When I have a constructor with default parameters (but when I don't create the constructor <code>public foo()</code> :</p>

<pre><code>public class foo : IAgentIndicator
{
    public foo(int a = 0, int b = 0)
    {
    }
}
</code></pre>

<p>Is not the parameterless constructor generated at compile-time ?</p>