Tuesday, October 18, 2011
Storage Types in C Sharp
C Sharp has following types to Manage Data
1. Value
2. Reference
3. Pointer
4. Void
Value types are used to store data.Two types are Struct and Enumeration
Struct types include structures and built in simple types(int,float)
Enumeration is a user type defined variables or we can say set of named constants
Reference types are used to store references to data elsewhere in your c# program.Reference type keywords include Class,Interface,Delegate,Object,String
Pointer types let you point to specific location in memory
Use Void type in a method to specify that method does not returns a value...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment