title: how to call my dll and use it in powershell script
body: <p>I have my own <code>dll</code> which written in c#.<br>
  Now I want to call that from my <code>powershell</code> script.<br>
  I did the following;  </p>
  
  <pre><code>[System.Reflection.Assembly]::LoadFile("E:\MyClass.dll")
  $MyCompObj = New-Object MyClass.Student
  </code></pre>
  
  <p>But when I executing that, it giving me error<br>
  <strong>Constructor not found. Cannot find an appropriate constructor for type MyClass.Student</strong>  </p>
  
  <p>Am I following a wrong way to do this??<br>
  Please help me to fix this.</p>