i think traditional usage of DLLs is to contain a library of subs and fuctions.

I've developed a class that I'd like to reuse in projects in the future but I don't want the class code in the project to prevent any temptation to altering it (and maybe breaking my other applications).

Can I compile just a class into a .DLL and then create an instance of that class in my project?

ive looked around and haven't found anything like this.

thanks for any info anyone can provide