Bind several classes into one .dll file in C# -


a beginner's question. c#. let's have 3 classes in 1 project named employee, department, address. reason, have .dll file (let's name test.dll) have 3 classes included can call other project using syntax "test.employee emp1 = new test.employee();" idea. possible? if yes, how should that? have create class library project so? know nothing class library project. may need further that. if answer no, how add references classes other solutions? thanks.

  1. create class library project.
  2. give proper namespace
  3. write library classes, compile dll
  4. then add reference dll in other project want use in
  5. add using statement include reference in code files.

pretty straightforward


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -