user802782
user802782

Reputation: 63

How Can i Use C language in .Net (C IDE)

Is it possible to use C code in .NET?

Upvotes: 3

Views: 549

Answers (1)

Oded
Oded

Reputation: 499072

Not directly.

If you write a com DLL in C, you can use it in .NET using PInvoke and interop.

See Interoperating with Unmanaged Code on MSDN.

Alternatively, use managed C++/C++/CLI.

Upvotes: 3

Related Questions