No doubt that "Every one among pro was a beginner once."
Let i describe the way.
First open a new project as "ClassLibrary" make a class file which will be build as dll file after compiling.
TypeScript |
Here i make 4 very simple method.
Now we build it as "MyCalculation.dll"
Now we look for the main application.
we must reference our dll file first. The way is Project->Add Reference.
For best way put your dll file in .../bin/debug folder.
then must be use: using MyCalculation;
now for add button the code is following.
C# |
Now run the program. And you get your recommended out put with the help of dll.
i upload the sample example. Hope you will now make dll file, and say wow it's very essay as it is. :-)
Thank you!


rishi royPosted Jul 25, 2010, 8:04 PM EDT
Thanks for your simple code, it help me to understand the concept of dll as i am a beginner...