|
|
|
|
|
|
How to Write a DLL Using C#
The code for the dll shown below in the text area is all you need to create the dll, provided the
C# compiler is at your disposal. The "doSort" dll implements the insertion sort algorithm. I used
Visual Studio 2005 to create a console application to call the insertionSort method inside the dll,
but this is not necessary as long as you create a reference to the dll using csc from the command
line. The insertionSort method should be called with a string as its argument. This string should
be a delimited list of numbers with no spaces. Please check back for more information on using this
with mono, the open source .NET Framework.
|
|
|
|
|
|