Assembly files

  • Thread starter Thread starter Monte Chan
  • Start date Start date
M

Monte Chan

Hi all,

I am a newbie in C#. I am trying to learn C# by reading "How to Program C#"
by Deitel and Deitel. One of the examples in the books shows that I can
compile the codes into a .dll file and then do a "using MyClassName;" to use
the class. My question is, do I need to register the .dll file once it has
been created? Do I need to do anything special to get the codes to work?

Thanks in advance,
Monte

--
 
I read the Deitel book and the best thing to do is throw it away and purchase Richters book or even Troelsen's book. For working wth the IDE and framework classes Balenas book can not be beat but it is a VB.Net book. My personal recommendation is to purchase two books on .Net Richters and Balenas. They will have everything you need to know.

But, after you build it you will have to include it as a reference into your project you are wanting to reference it from. Do this by right clicking the project references tree node (there are other ways...) and selecting add reference. Search for and select your dll. Once you have added it this line will work. If you have two projects in the same solution you can reference the project when the dialog box comes up.

jason.
 
Back
Top