Well, that has been done for decades. You just need to link your code with the correct libraries.<p>Its probably a bit easier with C as it has a common ABI, and C# as it only has one tool chain, and not multiple toolchains from multiple vendors like C++.<p>Modules will help here further.