title: How to use C# code in C++ project
body: <p>I have some code in C# which I want to use in other project (coded in C++).
  From what I researched, I need to create a .lib but MSVS only creates .dll (I think..). I think is possible to use the .dll by using LoadLibrary() over C++ but seems not very friendly.</p>
  
  <p>1 - Can I create the .lib in MSVS? If not, how can I create it.</p>
  
  <p>2 - What is the best way to integrate the code? By the .lib or using .dll + LoadLibrary()?</p>