Professional Documents
Culture Documents
PRG Chapter 2
PRG Chapter 2
Types in C#
Chapter Objectives
1.Understand Types
2.Create Types
4.Special Types in C#
5.Type Conversion
Understand Types
• Syntax
Reference Type
A type that is defined by either class, interface, or delegate is known as a
reference type. It holds a pointer to a memory location that contains data
called reference type.
• System.Object type
• anonymous type
• dynamic type
• nullable type
• static type
System.Object Type
The End
2 0 2 02 0C2T0U CTTr U
a i nTirnagi nSi nogl u St ioolnust i o|n sA l |l RAi gl l hRt si gRhet s eRr ev es edr v |e dc t u| t rcat iuntirnagi n. ai nc g
. z. a c . z a