How to obtain advantage of C\C++,Assembly using C#?

Hello all!
What is the main purpose of DllImport? Could I get opportunity using C# with C\C++ libraries? When, and how?
Thank you,

.NET Foundation Website | Blog | Projects | Code of Conduct