Try checking the
MSDN Documentation on CreateObject. If you click on the C# tab in the Syntax section, you will see how it works.
[Addition]
In addition to the documentation on CreateObject, you ask about the interop.vendor.dll that will appear in your output folder. This is an autogenerated wrapper for the COM component that you get by adding a reference to the component in your project.