September 2014
Intermediate to advanced
396 pages
7h 58m
English
CHAPTER 6
![]()
Data Types
The game’s afoot.
—William Shakespeare, Henry V
In this chapter, we dig deeper into the CLI type system as well as the implementation of C++/CLI in Microsoft Visual C++ 2013. You should already have a firm base in C# classes, structures, and interfaces from your previous programming experience, and we want to build on that knowledge to expose differences between C# and C++/CLI.
C# Types versus C++ Types
The C# language was designed specifically to target the CLR. Therefore, all of its data types map directly to CLI types. C++/CLI not only defines data types for the CLI but also defines data types for use in native C++. ...
Read now
Unlock full access