Author Topic: Class Libraries in C#  (Read 2731 times)

hcengiz

  • Administrator
  • Newbie
  • *****
  • Posts: 9
    • View Profile
Class Libraries in C#
« on: August 22, 2007, 07:08:01 AM »
As opposed to running a C# application as a Console application, we can define it as a ClassLibrary and reference it within the other applications  we are gonna implement in the future.

The main differences of a console application is as follows:

    * Console: The compiled file's extension is .exe so it is executable.
    * ClassLibrary: The compiled file's extension is .dll thus it is NOT executable by itself. However, it is well suited for inclusion by other programs. This can be accomplished by the "using" statements in C# codes. For example: "using MyNameSpace.MyClassLibrary"

source: http://csharpeasy.blogspot.com
« Last Edit: October 11, 2007, 07:04:19 AM by hcengiz »

Engineer Forum

Class Libraries in C#
« on: August 22, 2007, 07:08:01 AM »