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.
KeywordsString Class Primitive Type Format String Character Array Curly Brace
Unable to display preview. Download preview PDF.