Really simple actually
Cant give you a sample as my dll is a tiny little 2500 lines long, but all you do is when your selecting your project type select class library, and that will give you a class object into which you put all your classes and namespaces all that fun stuff then when you compile itll compile into a nice little dll file. The technique ive found best right now is to create the class as a class in a program and once youve tested it thoughowly (spelling) then copy paste the class into your class project as i dont know of a way to test the class library code other than to import the dll and go back and recompile after every error (very slow) if anyone has a better way than mine please let me know i need all the help i can get...