In C#, there are two types of data:
• Value types: Variables that store data values on the stack.
• Reference types: Variables that store memory address of the data stored on the heap.
There is also a third type of data, the pointer type, which is used in writing unsafe code. Although the C# language does not support pointers directly, it is possible for C++ programmers to write unsafe blocks of code and use pointers of code and use pointers inside these blocks.
Tuesday, March 16, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment