> From: [email protected] [mailto:mono-list- > [email protected]] On Behalf Of kolesiko > > I have to write a small library. I have the source code, which contains a > blank in the language C. As far as I know, this library is required to be > compatible with the language C. However, I do not like this language. Is it > possible to write this library in C# and compiled into binary code? In the > future, I'm going to redo this library in a complete application, > independent of the "parent" application. So I want to use C #. But now it's > just a plug-in on T. Maybe I chose the wrong way at all? What do you advise? > I am even ready to use any embeddable scripting language. Performance is > not > my primary goal.
I may be wrong, but I think: If you write a DLL in C, then it's not usable in C# except by dropping down to Win32, in which case, you might as well just give up and use C. Likewise, if you build a DLL in C#, you cannot use it in C, but you could use C++ .NET. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
