What is the advantage of 'Integrate C project into C# project' vs 'Import DLL into C# project'
Posted on 2013-11-18
I have a C# project that needs to call a method (already) implemented in a C project.
There're two possibilities I could think of.
1. Integrate the C project into the C# project.
2. Build the C project into a DLL, and the C# project imports the DLL.
But I understood approach #1 is also effectively turning the integrated C project into a DLL.
It seems to me there is no benefit from approach #1. Is my understanding correct? Thanks.