Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Boxing Unboxing « Data Types « C# / C Sharp
C# / C Sharp
Data Types
Boxing Unboxing
1.
implicit boxing of an int
2.
explicit boxing of an int to an object
3.
explicit unboxing of an object to an int
4.
A simple boxing/unboxing example
5.
Boxing also occurs when passing values
6.
Boxing makes it possible to call methods on a value
7.
Illustrates boxing and unboxing
8.
Automatic boxing and unboxing to pass an undetermined data type to a function
9.
is and Box UnBox
10.
Boxing struct object
11.
Box to object