Sample Chapter: The .NET Base Class Libraries | CodeGuru

Sample Chapter: The .NET Base Class Libraries

Microsoft Visual C++ .NET 2003 Kick Start Chapter 3: The .NET Base Class Libraries. By Kate Gregory for Sams Publishing In This Chapter Libraries Shared Across Languages Namespaces in C++ The System Namespace Other Useful Namespaces In Brief Libraries Shared Across Languages When you write managed C++, you have access to all of the managed […]

Written By
CodeGuru Staff
CodeGuru Staff
Jan 27, 2004
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Microsoft Visual C++ .NET 2003 Kick Start

Chapter 3: The .NET Base Class Libraries.
By Kate Gregory for Sams Publishing

In This Chapter

  • Libraries Shared Across Languages

  • Namespaces in C++

  • The System Namespace

  • Other Useful Namespaces

  • In Brief

Libraries Shared Across Languages

When you write managed C++, you have access to all of the managed code libraries that come with the .NET Framework: the Base Class Libraries, ADO.NET, ASP.NET, and so on. These libraries are modern and powerful. They provide services, such as XML processing, that weren't even thought of when older libraries such as MFC and ATL were first written.

In sharp contrast to the historical capabilities of C++ and Visual Basic, on the .NET Framework these two languages share the same class libraries. Every library class and method that's available from Visual Basic is available from managed C++ and from C#. Every library class and method that's available from C# is available from Visual Basic and Managed C++.

The advantages of a shared class library are many. They include

  • Reduced learning time when moving from one .NET-supported language to another

  • A larger body of samples and documentation, because these do not need to be language specific

  • Better communication between programmers who work in different .NET-supported languages

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.