Export (0) Print
Expand All

ValueTypes Sample: Demonstrates Boxing and Unboxing a Value Class

Visual Studio .NET 2003

The ValueTypes sample demonstrates various boxing and unboxing characteristics using a value class (implemented with V) and various other keywords.

For more information on boxing, see __box.

Building and Running the Sample

To build and run ValueTypes using Visual Studio

  1. In the Visual Studio IDE, load the solution file valtypes.sln.
  2. In Solution Explorer, right-click the valtypes solution.
  3. On the shortcut menu, click Build.
  4. On the Debug menu, click Start.

See Also

Managed Extensions for C++ Samples | __value | __box | dynamic_cast | reinterpert_cast | Int32

Show:
© 2014 Microsoft