c# dll

  • Thread starter Thread starter Guest
  • Start date Start date
Which development tools do you have, if any? (i.e. Visual Studio .NET 2003, Web Matrix, Notepad, etc.)
 
If you create a Common Library (DLL) you just add it to your references.
and put into the uses directive space and you should be good to go
 
Save code in file "ClassLibrary1.cs"
--------------------------------------
using System;

namespace ClassLibrary1
{
public class Class1
{
public int AddIntegers(int a, int b)
{
return a+b;
}
}
}



Compile with:
 
Back
Top