I want to add a C file into my .NET application.
How can I built this? How can i write unmanaged code in C#. Can someone explain with few lines code.
Thanks
I want to add a C file into my .NET application.
How can I built this? How can i write unmanaged code in C#. Can someone explain with few lines code.
Thanks
You either have to build the C file into it's own DLL and then use P/Invoke in your C# code to call them or...
You could also try to port the C code to C# which would give you a completely managed codebase.