C++ dll linking with c#

How to link a C++ dll file with C# in visual studio 2010 ?
The dll is a managed code (namespace).

You can use P Invoke concept of .NET
http://msdn.microsoft.com/en-us/library/aa288468(v=vs.71).aspx

//