This is a discussion on How to create DLL file within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, How can we create DLL files in Visual Studio and use it in Windows and Webapplication ? Can we use ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, How can we create DLL files in Visual Studio and use it in Windows and Webapplication ? Can we use a same DLL file in both the Windows and Web application? Please help
__________________ --Kirubhaa. Born to win-- |
| Sponsored Links |
| |||
| using UtilityMethods; class TestCode { static void Main(string[] args) { System.Console.WriteLine("Calling methods from MathLibrary.DLL:"); if (args.Length != 2) { System.Console.WriteLine("Usage: TestCode <num1> <num2>"); return; } long num1 = long.Parse(args[0]); long num2 = long.Parse(args[1]); long sum = AddClass.Add(num1, num2); long product = MultiplyClass.Multiply(num1, num2); System.Console.WriteLine("{0} + {1} = {2}", num1, num2, sum); System.Console.WriteLine("{0} * {1} = {2}", num1, num2, product); } } /* Output (assuming 1234 and 5678 are entered as command line args): Calling methods from MathLibrary.DLL: 1234 + 5678 = 6912 1234 * 5678 = 7006652 */ |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code-behind to create node dynamically using XML File or any Stored Procedure | poornima | ASP and ASP.NET Programming | 3 | 02-14-2008 09:46 PM |
| How to create a Setup file in VS 2005 to start a installer from a installer file? | $enthil | C# Programming | 2 | 11-16-2007 03:10 AM |
| How to Create a Cab file in C#? | oxygen | C# Programming | 5 | 10-25-2007 01:13 AM |
| How to create a ZIP File in Java? | bluesky | Java Programming | 1 | 07-25-2007 06:03 AM |
| Is it possible to create an .ini file for CEAppMgr that will disable.. | theone | Mobile Software Development | 1 | 07-19-2007 01:00 AM |