My c sharp dll file
Would you like to make this site your homepage? It's fast and easy...
Yes, Please make this my home page!
/*
Author: Zain Alyafaie
Date : Oct 16,2017
Purpose: Devloping c# Application
to generate DLL file
Compile this file which has the name csharpdll.cs as
d:\csc /target:library csharpdll.cs
make sure you have this file avialable csharpdll.dll
Now go to the calling program to add it to it as
using dm.it;
when compiling the calling program add to the end /reference:csharpdll.dll
to run the calling program give the parameter as
d:\go "Hello Zain "
*/
using System.IO;
namespace dm{
namespace itd {
static public class class1 {
static string wel="hello dll ";
static public void _welcome(string val1){
System.Console.WriteLine(wel+" "+val1);
}
}
} // end of itd namespace
} // end of dm namespace