title: Convert COM object to .Net Object
body: <pre><code>public int Set(int newValue,Object obj)
  {
    //System.Windows.Forms.Control ctrl = (System.Windows.FormsControl)Object;
  }
  </code></pre>
  
  <p>The Object here is COM object. Now I want to convert it to a .NET object and get hold of its properties. What is the easiest way to do it?</p>