Fundamental Types: Strings, Arrays, and Enums


In this chapter, you’ll learn about some special types in the C++/CLI type system. I have been using the term primitive type to refer to the built-in integral and floating-point types. This includes character types, which are also considered integral types. Other types, such as those discussed in this chapter, are built upon these primitive types and are fundamental to any program. Each of these types is a .NET version of a classic C++ concept, and each of these has special language support in addition to being a bona fide .NET Framework object type. The chapter will go into some detail not just on the syntax and mechanics of the types themselves, but also on some of the commonly used .NET Framework library functionality related to these types.


String Class Primitive Type Format String Character Array Curly Brace 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Gordon Hogenson 2008

Personalised recommendations