Class Library
A Class Library project is used to create a set of classes that can be used by one or many other projects. The project itself becomes an “assembly” that can be used by other projects once it is built. In Part III, “Working with Objects,” you learn about object-oriented concepts and this is where this type of project will be demonstrated. Visual Basic 6.0 users are probably already familiar with this type of project as you can create a Class Library in Visual Basic 6.0 which essentially enables you to build a COM dll.
Figure 4.2 shows the Visual Studio.NET workspace after a new Class Library project is created. All of the source code is generated to give you a head start in building your class library. Notice that the “Class1” is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access