Attict
Attict

Reputation: 51

Storing functions and sub procedures in separate class file

I'm wondering how to have an external class file from the application. Whenever I create a separate class file in Visual Studio, it seems it's only for my personal benefit of keeping the coding organized, but it still is stored inside the application(.exe) file. I'm looking to have a separate file that contains most of my sub procedures and functions, so that when I update my application, it would only update that file instead of the actual .exe.

Upvotes: 1

Views: 672

Answers (1)

Reed Copsey
Reed Copsey

Reputation: 564413

You would do this by creating a Class Library. The Library builds an assembly (DLL) that can be added as a reference to any Application, and then those types can be used by the Application.

Upvotes: 4

Related Questions