passing values into ConstructorInfo.Invoke
<p>I am using reflection to construct a class object which accepts an <code>int</code> as constructor parameter. I am using <code>ConstructorInfo.Invoke</code> to create the class.  Can any one please tell me  how can I pass a parameter to the constructor? I am trying the following method without luck </p>

<pre><code>Assembly ass = Assembly.GetExecutingAssembly();
            Type typa = ass.GetType("Abc");
            Type[] types = new Type[1];
            types[0] = typeof(int);
            ConstructorInfo csInfo =typa.GetConstructor(types);
            int[] obj = {10};

            csInfo.Invoke(obj);
</code></pre>

<p>I get the following error:</p>

<blockquote>
  <p>Argument 1: cannot convert from 'int[]' to 'object[]'</p>
</blockquote>
