How to use C# code in C++ project -
i have code in c# want use in other project (coded in c++). researched, need create .lib msvs creates .dll (i think..). think possible use .dll using loadlibrary() on c++ seems not friendly. 1 - can create .lib in msvs? if not, how can create it. 2 - best way integrate code? .lib or using .dll + loadlibrary()? the easiest option, honestly, use c++/cli. lets use both object systems (.net, , traditional c++ standard template library).