Mega Code Archive

 
Categories / C# / Development Class
 

Compile cs file to DLL

// Math.cs    public class Math    {       ///<summary>       ///   The Add method allows us to add two integers       ///</summary>       ///<returns>Result of the addition (int)</returns>       ///<param name="x">First number to add</param>       ///<param name="y">Second number to add</param>       public int Add(int x, int y)       {          return x + y;       }    } //csc /t:library /doc:Math.xml Math.cs